Mercurial > sdl-ios-xcode
changeset 4244:8fc98498e4f0 SDL-1.2
Fixed bug #806
Max Horn 2009-09-24 13:16:05 PDT
Current SDL 1.2 SVN luckily builds on several systems now: 10.4 (PPC and 32bit intel), 10.5 (32 bit) and 10.6 (32 bit). However, it fails to build on 10.5 in 64 bit mode
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 26 Sep 2009 11:42:39 +0000 |
parents | 22aec2e85b86 |
children | 0319c84d274d |
files | src/video/quartz/SDL_QuartzEvents.m |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzEvents.m Sat Sep 26 10:37:28 2009 +0000 +++ b/src/video/quartz/SDL_QuartzEvents.m Sat Sep 26 11:42:39 2009 +0000 @@ -28,6 +28,13 @@ #include <IOKit/pwr_mgt/IOPMLib.h> /* For wake from sleep detection */ #include "SDL_QuartzKeys.h" +/* + * On Leopard, this is missing from the 64-bit headers + */ +#ifndef UsrActivity +#define UsrActivity 1 +#endif + /* * In Panther, this header defines device dependent masks for * right side keys. These definitions only exist in Panther, but