[ros-diffs] [tfaber] 53465: [CRT] - Do not skip calling DllMain on non-GCC builds

tfaber at svn.reactos.org tfaber at svn.reactos.org
Sat Aug 27 09:14:59 UTC 2011


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.c?rev=53465&r1=53464&r2=53465&view=diff
==============================================================================
--- 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);




More information about the Ros-diffs mailing list