Use new atomis with allocated_heap.
[mono.git] / mono / metadata / coree.h
index c7865364bdf56082d17aea26ee4d4ed06df82c94..a2bec50a0fe051ab75a1e7a55b236b75b16c25f8 100644 (file)
@@ -24,8 +24,12 @@ STDAPI MonoFixupCorEE(HMODULE ModuleHandle);
 
 /* Defined by the linker. */
 #ifndef _MSC_VER
+#ifdef __MINGW64_VERSION_MAJOR
+#define __ImageBase __MINGW_LSYMBOL(_image_base__)
+#else
 #define __ImageBase _image_base__
 #endif
+#endif
 extern IMAGE_DOS_HEADER __ImageBase MONO_INTERNAL;
 
 extern HMODULE coree_module_handle MONO_INTERNAL;