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

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
This commit is contained in:
Alan Coopersmith
2010-02-04 18:20:09 -08:00
parent 8109b6d313
commit 8a985a988b

View 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>