[Mesa-dev] [PATCH 1/6] pipe: Detect FreeBSD better
nobled
nobled at dreamwidth.org
Wed Jun 23 18:31:07 PDT 2010
Taking advice from the Debian BSD porting guide:
http://glibc-bsd.alioth.debian.org/porting/PORTING
This should help fix Debian bug #585618 (gallium build failure).
---
src/gallium/include/pipe/p_config.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/include/pipe/p_config.h
b/src/gallium/include/pipe/p_config.h
index b81702a..68025fa 100644
--- a/src/gallium/include/pipe/p_config.h
+++ b/src/gallium/include/pipe/p_config.h
@@ -128,7 +128,7 @@
#define PIPE_OS_UNIX
#endif
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
#define PIPE_OS_FREEBSD
#define PIPE_OS_BSD
#define PIPE_OS_UNIX
--
1.5.4.3
More information about the mesa-dev
mailing list