summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tkMain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkMain.c b/generic/tkMain.c
index 6b9a393..365e0d1 100644
--- a/generic/tkMain.c
+++ b/generic/tkMain.c
@@ -34,6 +34,7 @@
#include "tkMacOSXInt.h"
#endif
+extern int TkCygwinMainEx(int, char **, Tcl_AppInitProc *, Tcl_Interp *);
typedef struct ThreadSpecificData {
Tcl_Interp *interp; /* Interpreter for this thread. */
@@ -156,7 +157,6 @@ Tk_MainEx(argc, argv, appInitProc, interp)
}
#if defined(__WIN32__) && !defined(__WIN64__) && !defined(STATIC_BUILD)
- extern int TkCygwinMainEx(int, char **, Tcl_AppInitProc *, Tcl_Interp *);
if (tclStubsPtr->reserved9) {
/* We are running win32 Tk under Cygwin, so let's check