XQuartz: Avoid namespace collission for BOOL in Sparkle
(cherry picked from commit 227c6e01a641b72158201553273299283cdb5599)
This commit is contained in:
parent
442967c90d
commit
1e49c8d340
|
@ -50,10 +50,6 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <AvailabilityMacros.h>
|
#include <AvailabilityMacros.h>
|
||||||
|
|
||||||
#ifdef XQUARTZ_SPARKLE
|
|
||||||
#include <Sparkle/SUUpdater.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <Xplugin.h>
|
#include <Xplugin.h>
|
||||||
|
|
||||||
// pbproxy/pbproxy.h
|
// pbproxy/pbproxy.h
|
||||||
|
|
|
@ -40,7 +40,9 @@
|
||||||
#include "xpr/x-list.h"
|
#include "xpr/x-list.h"
|
||||||
|
|
||||||
#ifdef XQUARTZ_SPARKLE
|
#ifdef XQUARTZ_SPARKLE
|
||||||
|
#define BOOL OSX_BOOL
|
||||||
#include <Sparkle/SUUpdater.h>
|
#include <Sparkle/SUUpdater.h>
|
||||||
|
#undef BOOL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@interface X11Controller : NSObject
|
@interface X11Controller : NSObject
|
||||||
|
|
Loading…
Reference in New Issue