summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authornobled <[email protected]>2010-06-23 21:31:28 -0400
committerCorbin Simpson <[email protected]>2010-06-24 06:45:36 -0700
commitfd7de146f6c5989ab3a8459d600ca3386571b31f (patch)
tree5a33a57f8cc096ca4ef509ac52b2d546a1a68d57 /src
parent06a75bd8730fea6cb04b2e6b1754704fc196f050 (diff)
pipe: Add PIPE_OS_HURD
One tiny step toward porting Gallium to the GNU/Hurd kernel (and fixing Debian bug #585618). Signed-off-by: Corbin Simpson <[email protected]>
Diffstat (limited to 'src')
-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 b81702a4fac..c6ea198dbb4 100644
--- a/src/gallium/include/pipe/p_config.h
+++ b/src/gallium/include/pipe/p_config.h
@@ -146,6 +146,11 @@
#define PIPE_OS_UNIX
#endif
+#if defined(__GNU__)
+#define PIPE_OS_HURD
+#define PIPE_OS_UNIX
+#endif
+
#if defined(__sun)
#define PIPE_OS_SOLARIS
#define PIPE_OS_UNIX