mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-28 02:21:08 +00:00
xquartz: work around a bug in 10.5 system headers
Picked from 16f52e51a2/hw/xquartz/quartz.c (L75-L79)
Signed-off-by: Sergey Fedorov <vital.had@gmail.com>
This commit is contained in:
parent
5fa3fe82e3
commit
e9fda9bdb1
1 changed files with 6 additions and 0 deletions
|
|
@ -72,6 +72,12 @@
|
|||
#include <rootlessCommon.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
|
||||
|
||||
// These are vended by the Objective-C runtime, but they are unfortunately
|
||||
// not available as API in the macOS SDK. We are following suit with swift
|
||||
// and clang in declaring them inline here. They cannot be removed or changed
|
||||
|
|
|
|||
Loading…
Reference in a new issue