# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1216614070 0 # Node ID 52ca202ae78719ece3d7a05ce032651f90477bc2 # Parent 48a714a8e3a620cb5499d3f4e092aa2d441a71c9 (kCGBitmapByteOrder32Host): New define for non-universal SDKs. diff -r 48a714a8e3a6 -r 52ca202ae787 src/macterm.h --- 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;