summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/winMain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/win/winMain.c b/win/winMain.c
index eea7004..01a5e23 100644
--- a/win/winMain.c
+++ b/win/winMain.c
@@ -16,6 +16,10 @@
#undef WIN32_LEAN_AND_MEAN
#include <locale.h>
+#if defined(__GNUC__)
+int _CRT_glob = 0;
+#endif /* __GNUC__ */
+
/*
* The following declarations refer to internal Tk routines. These interfaces
* are available for use, but are not supported.