[Mesa-dev] [PATCH 2/6] pipe: Add PIPE_OS_HURD

nobled nobled at dreamwidth.org
Wed Jun 23 18:31:28 PDT 2010


One tiny step toward porting Gallium to the GNU/Hurd kernel
(and fixing Debian bug #585618).
---
 src/gallium/include/pipe/p_config.h |    5 +++++
 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 68025fa..b077933 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
-- 
1.5.4.3


More information about the mesa-dev mailing list