diff options
author | Jeremy Huddleston <jeremy@dhcp-38-248.EECS.Berkeley.EDU> | 2007-12-07 18:54:58 -0800 |
---|---|---|
committer | Jeremy Huddleston <jeremy@dhcp-38-248.EECS.Berkeley.EDU> | 2007-12-07 18:54:58 -0800 |
commit | 0ad1c359c5b0be63748f5c630c97be88a8cc92ce (patch) | |
tree | ce9a9f7b0f4b3bb4dc5fe180f6eb38a825f5d6fa /include/window.h | |
parent | 85ed0bb44011312dfaa9f2dc31642a0f89ec0bd3 (diff) |
Darwin: Use __APPLE__ instead of __DARWIN__
(cherry picked from commit 54654815fa5e59b25cfd1fa72610120b72c10175)
Diffstat (limited to 'include/window.h')
-rw-r--r-- | include/window.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/window.h b/include/window.h index 312b75e88..58e2c49b5 100644 --- a/include/window.h +++ b/include/window.h @@ -125,7 +125,7 @@ extern void 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( @@ -136,7 +136,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 |