XQuartz: Workaround an SDK bug on Leopard/x86_64
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
31174565ec
commit
4acbaa3027
|
@ -69,6 +69,12 @@
|
||||||
#include <rootlessCommon.h>
|
#include <rootlessCommon.h>
|
||||||
#include <Xplugin.h>
|
#include <Xplugin.h>
|
||||||
|
|
||||||
|
/* Work around a bug on Leopard's headers */
|
||||||
|
#if defined (__LP64__) && MAC_OS_X_VERSION_MAX_ALLOWED >= 1050 && MAC_OS_X_VERSION_MAX_ALLOWED < 1060
|
||||||
|
extern OSErr UpdateSystemActivity(UInt8 activity);
|
||||||
|
#define OverallAct 0
|
||||||
|
#endif
|
||||||
|
|
||||||
DevPrivateKeyRec quartzScreenKeyRec;
|
DevPrivateKeyRec quartzScreenKeyRec;
|
||||||
int aquaMenuBarHeight = 0;
|
int aquaMenuBarHeight = 0;
|
||||||
QuartzModeProcsPtr quartzProcs = NULL;
|
QuartzModeProcsPtr quartzProcs = NULL;
|
||||||
|
|
Loading…
Reference in New Issue