aboutsummaryrefslogtreecommitdiffstats
path: root/src/nativewindow/native/x11/XineramaHelper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nativewindow/native/x11/XineramaHelper.c')
-rw-r--r--src/nativewindow/native/x11/XineramaHelper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nativewindow/native/x11/XineramaHelper.c b/src/nativewindow/native/x11/XineramaHelper.c
index a4d380e13..62c02c8c8 100644
--- a/src/nativewindow/native/x11/XineramaHelper.c
+++ b/src/nativewindow/native/x11/XineramaHelper.c
@@ -39,7 +39,7 @@
#include <X11/Xlib.h>
#include <stdio.h>
-#ifdef __sun
+#ifdef __sun_obsolete
typedef Status XineramaGetInfoFunc(Display* display, int screen_number,
XRectangle* framebuffer_rects, unsigned char* framebuffer_hints,
@@ -57,7 +57,7 @@ XineramaGetCenterHintFunc* XineramaSolarisCenterFunc = NULL;
#endif
Bool XineramaEnabled(Display* display) {
-#ifdef __sun
+#ifdef __sun_obsolete
#define MAXFRAMEBUFFERS 16
char* XinExtName = "XINERAMA";