pipe: Add PIPE_OS_HURD
authornobled <nobled@dreamwidth.org>
Thu, 24 Jun 2010 01:31:28 +0000 (21:31 -0400)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Thu, 24 Jun 2010 13:45:36 +0000 (06:45 -0700)
One tiny step toward porting Gallium to the GNU/Hurd kernel
(and fixing Debian bug #585618).

Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
src/gallium/include/pipe/p_config.h

index b81702a..c6ea198 100644 (file)
 #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