Mesa (master): eglplatform.h: recognize __unix as well for Solaris & other SVR4 platforms

Alan Coopersmith alanc at kemper.freedesktop.org
Sat Feb 6 03:39:17 UTC 2010


Module: Mesa
Branch: master
Commit: 8a985a988be8146b716e39a866daf74928e5c8ac
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a985a988be8146b716e39a866daf74928e5c8ac

Author: Alan Coopersmith <alan.coopersmith at sun.com>
Date:   Thu Feb  4 18:20:09 2010 -0800

eglplatform.h: recognize __unix as well for Solaris & other SVR4 platforms

Signed-off-by: Alan Coopersmith <alan.coopersmith at sun.com>

---

 include/EGL/eglplatform.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h
index 22e855f..c625088 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>




More information about the mesa-commit mailing list