summaryrefslogtreecommitdiffstats
path: root/xlib/X11/X.h
diff options
context:
space:
mode:
Diffstat (limited to 'xlib/X11/X.h')
-rw-r--r--xlib/X11/X.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlib/X11/X.h b/xlib/X11/X.h
index 8b37559..7755cac 100644
--- a/xlib/X11/X.h
+++ b/xlib/X11/X.h
@@ -33,7 +33,7 @@ SOFTWARE.
#define X_PROTOCOL 11 /* current protocol version */
#define X_PROTOCOL_REVISION 0 /* current minor version */
-#ifdef MAC_TCL
+#if defined(MAC_TCL) || defined(MAC_OSX_TK)
# define Cursor XCursor
# define Region XRegion
#endif
@@ -669,7 +669,7 @@ are reserved in the protocol for errors and replies. */
#define LSBFirst 0
#define MSBFirst 1
-#ifdef MAC_TCL
+#if defined(MAC_TCL) || defined(MAC_OSX_TK)
# undef Cursor
# undef Region
#endif