eglplatform.h: recognize __unix as well for Solaris & other SVR4 platforms
authorAlan Coopersmith <alan.coopersmith@sun.com>
Fri, 5 Feb 2010 02:20:09 +0000 (18:20 -0800)
committerAlan Coopersmith <alan.coopersmith@sun.com>
Sat, 6 Feb 2010 03:38:16 +0000 (19:38 -0800)
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
include/EGL/eglplatform.h

index 22e855f56cad4deef0d5c4b3e5c9989a4150962a..c625088d6cba07c23eecd2abde15d6007c1ed918 100644 (file)
@@ -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>