Author: tfaber Date: Sat Aug 27 09:14:57 2011 New Revision: 53465
URL: http://svn.reactos.org/svn/reactos?rev=53465&view=rev Log: [CRT] - Do not skip calling DllMain on non-GCC builds
Modified: trunk/reactos/lib/sdk/crt/startup/crtdll.c
Modified: trunk/reactos/lib/sdk/crt/startup/crtdll.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/startup/crtdll.... ============================================================================== --- trunk/reactos/lib/sdk/crt/startup/crtdll.c [iso-8859-1] (original) +++ trunk/reactos/lib/sdk/crt/startup/crtdll.c [iso-8859-1] Sat Aug 27 09:14:57 2011 @@ -199,8 +199,8 @@ goto i__leave; } } +#if defined(__GNUC__) if (dwReason == DLL_PROCESS_ATTACH) -#if defined(__GNUC__) __main (); #endif retcode = DllMain(hDllHandle,dwReason,lpreserved);