From e4cf4c3475e5152e6ceba8157a37a2937d450b63 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 26 Sep 2009 11:42:39 +0000 Subject: [PATCH] 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 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/video/quartz/SDL_QuartzEvents.m b/src/video/quartz/SDL_QuartzEvents.m index f86f62fc2..1178cdf85 100644 --- a/src/video/quartz/SDL_QuartzEvents.m +++ b/src/video/quartz/SDL_QuartzEvents.m @@ -28,6 +28,13 @@ #include /* 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