diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2012-05-29 13:29:51 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2012-05-29 13:29:51 (GMT) |
commit | 229227fddf2b7f4eb0df5aca8a9663974fe77735 (patch) | |
tree | 63b8fdc7afe118370cb64a5c408bcbc87370a8fc /generic/tkIntXlibDecls.h | |
parent | 9600eaa123a3133ed58a32e6c66247602c2abef0 (diff) | |
download | tk-229227fddf2b7f4eb0df5aca8a9663974fe77735.zip tk-229227fddf2b7f4eb0df5aca8a9663974fe77735.tar.gz tk-229227fddf2b7f4eb0df5aca8a9663974fe77735.tar.bz2 |
Unbreak the OSX build
Diffstat (limited to 'generic/tkIntXlibDecls.h')
-rw-r--r-- | generic/tkIntXlibDecls.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkIntXlibDecls.h b/generic/tkIntXlibDecls.h index a55ee53..bd899bf 100644 --- a/generic/tkIntXlibDecls.h +++ b/generic/tkIntXlibDecls.h @@ -36,7 +36,7 @@ * Exported function declarations: */ -#if defined(__WIN32__) /* WIN */ +#if defined(__WIN32__) || defined(__CYGWIN__) /* WIN */ /* 0 */ EXTERN void XSetDashes(Display *display, GC gc, int dash_offset, _Xconst char *dash_list, int n); @@ -602,7 +602,7 @@ typedef struct TkIntXlibStubs { int magic; const struct TkIntXlibStubHooks *hooks; -#if defined(__WIN32__) /* WIN */ +#if defined(__WIN32__) || defined(__CYGWIN__) /* WIN */ void (*xSetDashes) (Display *display, GC gc, int dash_offset, _Xconst char *dash_list, int n); /* 0 */ XModifierKeymap * (*xGetModifierMapping) (Display *d); /* 1 */ XImage * (*xCreateImage) (Display *d, Visual *v, unsigned int ui1, int i1, int i2, char *cp, unsigned int ui2, unsigned int ui3, int i3, int i4); /* 2 */ @@ -821,7 +821,7 @@ extern const TkIntXlibStubs *tkIntXlibStubsPtr; * Inline function declarations: */ -#if defined(__WIN32__) /* WIN */ +#if defined(__WIN32__) || defined(__CYGWIN__) /* WIN */ #define XSetDashes \ (tkIntXlibStubsPtr->xSetDashes) /* 0 */ #define XGetModifierMapping \ |