summaryrefslogtreecommitdiffstats
path: root/win/tclAppInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2025-08-28 06:21:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2025-08-28 06:21:00 (GMT)
commitd3daca383d315493be5148d429c662528a9bf746 (patch)
tree32b68eaff230a9256f1316afa918a00f93ce1a96 /win/tclAppInit.c
parent434e26477d56915ea0d3d89af3807ef1c328e792 (diff)
downloadtcl-core-apn-broken-mainargs.zip
tcl-core-apn-broken-mainargs.tar.gz
tcl-core-apn-broken-mainargs.tar.bz2
2 review remarks: _CRT_glob is still necessary. And please use autoconf 2.72. core-apn-broken-mainargs
Tx for the fix - Ashok
Diffstat (limited to 'win/tclAppInit.c')
-rw-r--r--win/tclAppInit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/win/tclAppInit.c b/win/tclAppInit.c
index 5abf19a..bba1063 100644
--- a/win/tclAppInit.c
+++ b/win/tclAppInit.c
@@ -48,6 +48,9 @@ extern Tcl_LibraryInitProc Dde_SafeInit;
#include <locale.h>
#include <stdlib.h>
#include <tchar.h>
+#if defined(__GNUC__)
+int _CRT_glob = 0;
+#endif /* __GNUC__ */
/*
* The following #if block allows you to change the AppInit function by using