Mesa (master): pipe: Add PIPE_OS_HURD

Corbin Simpson csimpson at kemper.freedesktop.org
Thu Jun 24 06:48:52 PDT 2010


Module: Mesa
Branch: master
Commit: fd7de146f6c5989ab3a8459d600ca3386571b31f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fd7de146f6c5989ab3a8459d600ca3386571b31f

Author: nobled <nobled at dreamwidth.org>
Date:   Wed Jun 23 21:31:28 2010 -0400

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 <MostAwesomeDude at gmail.com>

---

 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 b81702a..c6ea198 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



More information about the mesa-commit mailing list