summaryrefslogtreecommitdiff
path: root/src/gallium/include/pipe/p_config.h
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-06-25 09:52:50 -0600
committerBrian Paul <brianp@vmware.com>2009-06-25 09:52:50 -0600
commit450b20d1ef8e816fd1ee86a6373e81838bbce0a1 (patch)
treeebfb23bb959fefa954dfbf166ee3cd6781102906 /src/gallium/include/pipe/p_config.h
parente99d13bbc65641321ab755cd7144f773d1862070 (diff)
gallium: Add PIPE_OS_APPLE token.
Diffstat (limited to 'src/gallium/include/pipe/p_config.h')
-rw-r--r--src/gallium/include/pipe/p_config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_config.h b/src/gallium/include/pipe/p_config.h
index 63238ea46e9..c956a693a09 100644
--- a/src/gallium/include/pipe/p_config.h
+++ b/src/gallium/include/pipe/p_config.h
@@ -119,6 +119,10 @@
#define PIPE_OS_SOLARIS
#endif
+#if defined(__APPLE__)
+#define PIPE_OS_APPLE
+#endif
+
#if defined(_WIN32) || defined(WIN32)
#define PIPE_OS_WINDOWS
#endif