Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Better fix from Max Horn
  • Loading branch information
slouken committed Sep 27, 2009
1 parent 6867c58 commit 130b27c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/video/quartz/SDL_QuartzEvents.m
Expand Up @@ -31,7 +31,13 @@
/*
* On Leopard, this is missing from the 64-bit headers
*/
#ifndef UsrActivity
#if defined(__LP64__) && !defined(__POWER__)
/*
* Workaround for a bug in the 10.5 SDK: By accident, OSService.h does
* not include Power.h at all when compiling in 64bit mode. This has
* been fixed in 10.6, but for 10.5, we manually define UsrActivity
* to ensure compilation works.
*/
#define UsrActivity 1
#endif

Expand Down

0 comments on commit 130b27c

Please sign in to comment.