changeset 80618:52ca202ae787

(kCGBitmapByteOrder32Host): New define for non-universal SDKs.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Mon, 21 Jul 2008 04:21:10 +0000
parents 48a714a8e3a6
children 8982d67d70da
files src/macterm.h
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/macterm.h	Mon Jul 21 04:20:49 2008 +0000
+++ b/src/macterm.h	Mon Jul 21 04:21:10 2008 +0000
@@ -611,7 +611,13 @@
   kEventParamWindowMouseLocation = 'wmou'
 };
 #endif
+
+/* kCGBitmapByteOrder32Host is defined in Universal SDK for 10.4 but
+   not in PPC SDK for 10.4.0.  */
+#if MAC_OS_X_VERSION_MAX_ALLOWED < 1050 && !defined (kCGBitmapByteOrder32Host)
+#define kCGBitmapByteOrder32Host 0
 #endif
+#endif	/* MAC_OSX */
 
 struct frame;
 struct face;