diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-31 09:30:22 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-31 09:30:22 (GMT) |
commit | 0ad4cbd7bd60324dc875c7d8f472096589c2b024 (patch) | |
tree | 3ab0f8a9d922f9c36c5579ff2ee94478091498c8 /generic/tk.h | |
parent | a2b7afd83359a8b5149462e93b174ca5784d1e1a (diff) | |
download | tk-0ad4cbd7bd60324dc875c7d8f472096589c2b024.zip tk-0ad4cbd7bd60324dc875c7d8f472096589c2b024.tar.gz tk-0ad4cbd7bd60324dc875c7d8f472096589c2b024.tar.bz2 |
Implement XFlush and various others for win32 as stubs, so win32 extensions using those can run under CYGWIN as well.
Allow tk86.dll to cooperate with the cygwin console.
Diffstat (limited to 'generic/tk.h')
-rw-r--r-- | generic/tk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tk.h b/generic/tk.h index a9b96e3..a44cfa8 100644 --- a/generic/tk.h +++ b/generic/tk.h @@ -1471,7 +1471,7 @@ typedef struct Tk_ElementSpec { #define Tk_Release Tcl_Release /* Removed Tk_Main, use macro instead */ -#ifdef _WIN32 +#if defined(__WIN32__) || defined(__CYGWIN__) #define Tk_Main(argc, argv, proc) Tk_MainEx(argc, argv, proc, \ (Tcl_FindExecutable(0), (Tcl_CreateInterp)())) #else |