comparison src/video/quartz/SDL_QuartzEvents.m @ 4251:ed5e32187eec SDL-1.2

Better fix from Max Horn
author Sam Lantinga <slouken@libsdl.org>
date Sun, 27 Sep 2009 19:23:04 +0000
parents 8fc98498e4f0
children
comparison
equal deleted inserted replaced
4250:c483b474b1cf 4251:ed5e32187eec
29 #include "SDL_QuartzKeys.h" 29 #include "SDL_QuartzKeys.h"
30 30
31 /* 31 /*
32 * On Leopard, this is missing from the 64-bit headers 32 * On Leopard, this is missing from the 64-bit headers
33 */ 33 */
34 #ifndef UsrActivity 34 #if defined(__LP64__) && !defined(__POWER__)
35 /*
36 * Workaround for a bug in the 10.5 SDK: By accident, OSService.h does
37 * not include Power.h at all when compiling in 64bit mode. This has
38 * been fixed in 10.6, but for 10.5, we manually define UsrActivity
39 * to ensure compilation works.
40 */
35 #define UsrActivity 1 41 #define UsrActivity 1
36 #endif 42 #endif
37 43
38 /* 44 /*
39 * In Panther, this header defines device dependent masks for 45 * In Panther, this header defines device dependent masks for