diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-09 21:30:17 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-09 21:30:17 (GMT) |
commit | 1781ae2223312ebc0d57a9861834a2be6904b53b (patch) | |
tree | 910f808d33b01cb133375f4d3021107f0fc845dc /generic/tkWindow.c | |
parent | 302dfe1be6830add9d1bd8b57b4bc6c00fc609b3 (diff) | |
parent | 7da887fc2b6f0c7e19b48fbb6b464b35d31aad24 (diff) | |
download | tk-1781ae2223312ebc0d57a9861834a2be6904b53b.zip tk-1781ae2223312ebc0d57a9861834a2be6904b53b.tar.gz tk-1781ae2223312ebc0d57a9861834a2be6904b53b.tar.bz2 |
Change TkpWmSetState signature to match UNIX, needed for Cygwin
Don't check for cygwin in win32 static build
Some more useful #defines for Cygwin
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r-- | generic/tkWindow.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c index 4d5e895..278c8bc 100644 --- a/generic/tkWindow.c +++ b/generic/tkWindow.c @@ -859,7 +859,7 @@ TkCreateMainWindow( { Tk_Window tkwin; int dummy, isSafe; -#ifdef __WIN32__ +#if defined(__WIN32__) && !defined(STATIC_BUILD) int isWin32 = 0; #endif Tcl_HashEntry *hPtr; @@ -869,7 +869,7 @@ TkCreateMainWindow( ClientData clientData; ThreadSpecificData *tsdPtr = Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData)); -#ifdef __WIN32__ +#if defined(__WIN32__) && !defined(STATIC_BUILD) Tcl_Obj *stringObjPtr = Tcl_GetVar2Ex(interp, "::tcl_platform", "platform", 0); if (stringObjPtr @@ -961,7 +961,7 @@ TkCreateMainWindow( if ((cmdPtr->objProc == NULL)) { Tcl_Panic("TkCreateMainWindow: builtin command with NULL string and object procs"); } -#ifdef __WIN32__ +#if defined(__WIN32__) && !defined(STATIC_BUILD) if (!isWin32 && (cmdPtr->flags & WINMACONLY)) { continue; } |