+#if defined(PROFILING) || defined(mingw32_HOST_OS)
+ /* mingw32 and PROFILING (still) define __stginits in .text */
+ startupHaskell(argc,argv,__stginit_ZCMain);
+#else
+ startupHaskell(argc,argv,NULL);
+#endif
+
+ /* Register this thread as a task, so we can get timing stats about it */
+#if defined(RTS_SUPPORTS_THREADS)
+ threadIsTask(osThreadId());
+#endif