summaryrefslogtreecommitdiff
path: root/include/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/window.h')
-rw-r--r--include/window.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/window.h b/include/window.h
index 9943f903c..52b3982e3 100644
--- a/include/window.h
+++ b/include/window.h
@@ -122,7 +122,7 @@ extern int DestroySubwindows(
/* Quartz support on Mac OS X uses the HIToolbox
framework whose ChangeWindowAttributes function conflicts here. */
-#ifdef __DARWIN__
+#ifdef __APPLE__
#define ChangeWindowAttributes Darwin_X_ChangeWindowAttributes
#endif
extern int ChangeWindowAttributes(
@@ -133,7 +133,7 @@ extern int ChangeWindowAttributes(
/* Quartz support on Mac OS X uses the HIToolbox
framework whose GetWindowAttributes function conflicts here. */
-#ifdef __DARWIN__
+#ifdef __APPLE__
#define GetWindowAttributes(w,c,x) Darwin_X_GetWindowAttributes(w,c,x)
extern void Darwin_X_GetWindowAttributes(
#else