summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2010-02-04 18:20:09 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2010-02-05 19:38:16 -0800
commit8a985a988be8146b716e39a866daf74928e5c8ac (patch)
treec989ed5aa4d4b5727bc260281e62f8bd87c256ea /include
parent8109b6d31367986a2c4a8ad82dadd9c0db61b6c3 (diff)
eglplatform.h: recognize __unix as well for Solaris & other SVR4 platforms
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'include')
-rw-r--r--include/EGL/eglplatform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h
index 22e855f56c..c625088d6c 100644
--- a/include/EGL/eglplatform.h
+++ b/include/EGL/eglplatform.h
@@ -78,7 +78,7 @@ typedef int EGLNativeDisplayType;
typedef void *EGLNativeWindowType;
typedef void *EGLNativePixmapType;
-#elif defined(__unix__)
+#elif defined(__unix__) || defined(__unix)
/* X11 (tentative) */
#include <X11/Xlib.h>