diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-30 04:34:50 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-30 04:34:50 (GMT) |
commit | 91ae12c773a03fe4533d19a6d115deb6a4c95351 (patch) | |
tree | 7248ac19414918cc38c6d14a602c4ba094ef3e83 /generic/tkIntDecls.h | |
parent | 3f9d8f314ffa4e803d29993d3b1248b6c733b2c5 (diff) | |
parent | 29067ec103d779feffa6d5dea099666cc2785b76 (diff) | |
download | tk-91ae12c773a03fe4533d19a6d115deb6a4c95351.zip tk-91ae12c773a03fe4533d19a6d115deb6a4c95351.tar.gz tk-91ae12c773a03fe4533d19a6d115deb6a4c95351.tar.bz2 |
Simpify determination whether we are running on cygwin.
Export Tk_GetHINSTANCE, TkSetPixmapColormap and TkpPrintWindowId on the Cygwin dll.
Diffstat (limited to 'generic/tkIntDecls.h')
-rw-r--r-- | generic/tkIntDecls.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/generic/tkIntDecls.h b/generic/tkIntDecls.h index acb9639..7f1c096 100644 --- a/generic/tkIntDecls.h +++ b/generic/tkIntDecls.h @@ -1854,11 +1854,10 @@ extern TkIntStubs *tkIntStubsPtr; #undef TCL_STORAGE_CLASS #define TCL_STORAGE_CLASS DLLIMPORT +#ifndef __WIN32__ /* - * On X11, these macros are just wrappers for the equivalent X Region calls. + * These macros are just wrappers for the equivalent X Region calls. */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - #undef TkClipBox #undef TkCreateRegion #undef TkDestroyRegion @@ -1879,8 +1878,7 @@ extern TkIntStubs *tkIntStubsPtr; (Region) b, (Region) r) #define TkUnionRectWithRegion(rect, src, ret) XUnionRectWithRegion(rect, \ (Region) src, (Region) ret) - -#endif /* UNIX */ +#endif /* __WIN32__ */ #endif /* _TKINTDECLS */ |