aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.c b/main.c
index 8ee706fef0..bea1f49a82 100644
--- a/main.c
+++ b/main.c
@@ -20,6 +20,10 @@ unsigned int _stklen = 0x180000;
int _stacksize = 262144;
#endif
+#if defined __MINGW32__
+int _CRT_glob = 0;
+#endif
+
#if defined(__MACOS__) && defined(__MWERKS__)
#include <console.h>
#endif