gallium: New PIPE_OS_UNIX to simplify code that is portable to all unices.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 29 Sep 2009 12:17:36 +0000 (13:17 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 29 Sep 2009 12:59:16 +0000 (13:59 +0100)
src/gallium/include/pipe/p_config.h

index de99957d9d0a99ef323ef5947481c1ac7435009a..78fe1f4c87a220a77c52e41d7b876be1f699429f 100644 (file)
 
 #if defined(__linux__)
 #define PIPE_OS_LINUX
+#define PIPE_OS_UNIX
 #endif
 
 #if defined(__FreeBSD__)
 #define PIPE_OS_BSD
+#define PIPE_OS_UNIX
 #endif
 
 #if defined(__sun)
 #define PIPE_OS_SOLARIS
+#define PIPE_OS_UNIX
 #endif
 
 #if defined(__APPLE__)
 #define PIPE_OS_APPLE
+#define PIPE_OS_UNIX
 #endif
 
 #if defined(_WIN32) || defined(WIN32)
 
 #if defined(__HAIKU__)
 #define PIPE_OS_HAIKU
+#define PIPE_OS_UNIX
 #endif
 
 /*