summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/winMain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/win/winMain.c b/win/winMain.c
index a7308cf..36dbea9 100644
--- a/win/winMain.c
+++ b/win/winMain.c
@@ -20,6 +20,10 @@
#include <stdlib.h>
#include <tchar.h>
+#if defined(__GNUC__)
+int _CRT_glob = 0;
+#endif /* __GNUC__ */
+
#ifdef TK_TEST
extern Tcl_PackageInitProc Tktest_Init;
#endif /* TK_TEST */