From d53235af85d50774c68347720ce132daf9a5bc49 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Mon, 13 Feb 2012 23:06:07 -0800 Subject: XQuartz: Build fix for possible conflict of BOOL type Signed-off-by: Jeremy Huddleston --- hw/xquartz/GL/capabilities.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hw/xquartz/GL/capabilities.c b/hw/xquartz/GL/capabilities.c index dd3f855f4..b718a4156 100644 --- a/hw/xquartz/GL/capabilities.c +++ b/hw/xquartz/GL/capabilities.c @@ -23,17 +23,20 @@ #include #include #include + +#define Cursor Mac_Cursor +#define BOOL Mac_BOOL #include #include #include #include #include +#undef Cursor +#undef BOOL #include "capabilities.h" -#define Cursor X_Cursor #include "os.h" -#undef Cursor static void handleBufferModes(struct glCapabilitiesConfig *c, GLint bufferModes) { if(bufferModes & kCGLStereoscopicBit) { -- cgit v1.2.3