Fixed bug #806 SDL-1.2
authorSam Lantinga
Sat, 26 Sep 2009 11:42:39 +0000
branchSDL-1.2
changeset 42448fc98498e4f0
parent 4243 22aec2e85b86
child 4245 0319c84d274d
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
src/video/quartz/SDL_QuartzEvents.m
     1.1 --- a/src/video/quartz/SDL_QuartzEvents.m	Sat Sep 26 10:37:28 2009 +0000
     1.2 +++ b/src/video/quartz/SDL_QuartzEvents.m	Sat Sep 26 11:42:39 2009 +0000
     1.3 @@ -28,6 +28,13 @@
     1.4  #include <IOKit/pwr_mgt/IOPMLib.h> /* For wake from sleep detection */
     1.5  #include "SDL_QuartzKeys.h"
     1.6  
     1.7 +/*
     1.8 + * On Leopard, this is missing from the 64-bit headers
     1.9 + */
    1.10 +#ifndef UsrActivity
    1.11 +#define UsrActivity 1
    1.12 +#endif
    1.13 +
    1.14  /* 
    1.15   * In Panther, this header defines device dependent masks for 
    1.16   * right side keys. These definitions only exist in Panther, but