X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmini%2Fdriver.c;h=5aa7153a506a1b4299ba1952be8752eab679e982;hb=c16b1270273e1dd7bf9870983327414dc4c1c52b;hp=9181e53b25257183de08774b3a793327ebe33be2;hpb=6be008c409153a82e80394b98c93564e2cdb2309;p=mono.git diff --git a/mono/mini/driver.c b/mono/mini/driver.c index 9181e53b252..5aa7153a506 100644 --- a/mono/mini/driver.c +++ b/mono/mini/driver.c @@ -1367,30 +1367,6 @@ static const char info[] = #define error_if_aot_unsupported() #endif -#ifdef HOST_WIN32 -BOOL APIENTRY DllMain (HMODULE module_handle, DWORD reason, LPVOID reserved) -{ - if (!mono_gc_dllmain (module_handle, reason, reserved)) - return FALSE; - - switch (reason) - { - case DLL_PROCESS_ATTACH: - mono_install_runtime_load (mini_init); - break; - case DLL_PROCESS_DETACH: - if (coree_module_handle) - FreeLibrary (coree_module_handle); - break; - case DLL_THREAD_DETACH: - mono_thread_info_detach (); - break; - - } - return TRUE; -} -#endif - static gboolean enable_debugging; /*