2009-09-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
[mono.git] / mono / metadata / coree.h
index 615cace2b089cadd24fa6a78ea94eabd5964bb8e..63c4eb10e98048c895ac6cf24e8469eb95a52f44 100644 (file)
 #define STATUS_INVALID_IMAGE_FORMAT 0xC000007BL
 
 STDAPI MonoFixupCorEE(HMODULE ModuleHandle);
-STDAPI MonoFixupExe(HMODULE ModuleHandle);
 
 /* Defined by the linker. */
+#ifndef _MSC_VER
+#define __ImageBase _image_base__
+#endif
 extern IMAGE_DOS_HEADER __ImageBase MONO_INTERNAL;
 
 extern HMODULE coree_module_handle MONO_INTERNAL;
 
 HMODULE WINAPI MonoLoadImage(LPCWSTR FileName) MONO_INTERNAL;
+STDAPI MonoFixupExe(HMODULE ModuleHandle) MONO_INTERNAL;
 
 gchar* mono_get_module_file_name (HMODULE module_handle) MONO_INTERNAL;
 void mono_load_coree (const char* file_name) MONO_INTERNAL;