mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-26 08:50:05 +01:00
XQuartz: Build fix for possible conflict of BOOL type
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
(cherry picked from commit d53235af85)
This commit is contained in:
parent
72a1a79a7a
commit
f893dfaa3e
1 changed files with 5 additions and 2 deletions
|
|
@ -23,17 +23,20 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
|
||||
#define Cursor Mac_Cursor
|
||||
#define BOOL Mac_BOOL
|
||||
#include <OpenGL/OpenGL.h>
|
||||
#include <OpenGL/gl.h>
|
||||
#include <OpenGL/glu.h>
|
||||
#include <OpenGL/glext.h>
|
||||
#include <ApplicationServices/ApplicationServices.h>
|
||||
#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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue