summaryrefslogtreecommitdiffstats
path: root/win/tclAppInit.c
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2018-08-29 17:01:22 (GMT)
committersebres <sebres@users.sourceforge.net>2018-08-29 17:01:22 (GMT)
commit6dfe3f5de67a13e2704c56a1ee1d40ebabdf9c82 (patch)
tree1969383bce1cfec8b2b8493d7163259514f22778 /win/tclAppInit.c
parentb3993adcfb19f12c2fe6accbaec020a9599a6294 (diff)
parent77a26f5c95ac4404f7860eef2924c113e6c0de5f (diff)
downloadtcl-6dfe3f5de67a13e2704c56a1ee1d40ebabdf9c82.zip
tcl-6dfe3f5de67a13e2704c56a1ee1d40ebabdf9c82.tar.gz
tcl-6dfe3f5de67a13e2704c56a1ee1d40ebabdf9c82.tar.bz2
merge 8.6
Diffstat (limited to 'win/tclAppInit.c')
-rw-r--r--win/tclAppInit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/win/tclAppInit.c b/win/tclAppInit.c
index ef9f98b..9e0514d 100644
--- a/win/tclAppInit.c
+++ b/win/tclAppInit.c
@@ -35,8 +35,10 @@ extern Tcl_PackageInitProc Dde_Init;
extern Tcl_PackageInitProc Dde_SafeInit;
#endif
-#ifdef TCL_BROKEN_MAINARGS
+#if defined(__GNUC__) || defined(TCL_BROKEN_MAINARGS)
int _CRT_glob = 0;
+#endif /* __GNUC__ || TCL_BROKEN_MAINARGS */
+#ifdef TCL_BROKEN_MAINARGS
static void setargv(int *argcPtr, TCHAR ***argvPtr);
#endif /* TCL_BROKEN_MAINARGS */