Sync CRT initialization code with mingw-w64 r690
[reactos.git] / reactos / lib / 3rdparty / mingw / crt0_w.c
index 06e4afe..4e09648 100644 (file)
@@ -12,10 +12,5 @@ int WINAPI wWinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPWSTR lpCmdLine
 
 int wmain (int flags, wchar_t **cmdline, wchar_t **inst)
 {
-#ifdef __GNUC__
-  /* C++ initialization.
-     gcc inserts this call automatically for a function called main , but not for wmain.  */
-  __main();
-#endif
   return (int) wWinMain ((HINSTANCE) inst, NULL, (LPWSTR) cmdline,(DWORD) flags);
 }