aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-09-29 13:17:36 +0100
committerJosé Fonseca <[email protected]>2009-09-29 13:59:16 +0100
commit8210abb113462c781a8f3ffee3406493c108a2f0 (patch)
treeb1e511e4b85368d32afd73a93fe148ff4c2060bb
parent60f3f22a52422b11cc71149a28e24a14a9251205 (diff)
gallium: New PIPE_OS_UNIX to simplify code that is portable to all unices.
-rw-r--r--src/gallium/include/pipe/p_config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_config.h b/src/gallium/include/pipe/p_config.h
index de99957d9d0..78fe1f4c87a 100644
--- a/src/gallium/include/pipe/p_config.h
+++ b/src/gallium/include/pipe/p_config.h
@@ -122,18 +122,22 @@
#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)
@@ -142,6 +146,7 @@
#if defined(__HAIKU__)
#define PIPE_OS_HAIKU
+#define PIPE_OS_UNIX
#endif
/*