From 9f5c2a4ffa842e4ce9637198de3011ba8d78e7f1 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Thu, 6 Jun 2013 09:44:46 +0000 Subject: Add support for X11 GUI-mode on Cygwin64 --- generic/tkMain.c | 2 +- generic/tkWindow.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/generic/tkMain.c b/generic/tkMain.c index 5d58932..00ac165 100644 --- a/generic/tkMain.c +++ b/generic/tkMain.c @@ -143,7 +143,7 @@ Tk_MainEx( } } -#if defined(__WIN32__) && !defined(__WIN64__) && !defined(STATIC_BUILD) +#if defined(__WIN32__) && !defined(STATIC_BUILD) if (tclStubsPtr->reserved9) { /* We are running win32 Tk under Cygwin, so let's check diff --git a/generic/tkWindow.c b/generic/tkWindow.c index 04d2639..f2e98e8 100644 --- a/generic/tkWindow.c +++ b/generic/tkWindow.c @@ -2831,7 +2831,7 @@ DeleteWindowsExitProc( tsdPtr->initialized = 0; } -#if defined(__WIN32__) && !defined(__WIN64__) +#if defined(__WIN32__) static HMODULE tkcygwindll = NULL; @@ -2903,7 +2903,7 @@ int Tk_Init( Tcl_Interp *interp) /* Interpreter to initialize. */ { -#if defined(__WIN32__) && !defined(__WIN64__) +#if defined(__WIN32__) if (tkcygwindll) { int (*sym)(Tcl_Interp *); @@ -2976,7 +2976,7 @@ Tk_SafeInit( * checked at several places to differentiate the two initialisations. */ -#if defined(__WIN32__) && !defined(__WIN64__) +#if defined(__WIN32__) if (tkcygwindll) { int (*sym)(Tcl_Interp *); -- cgit v0.12