From fd7de146f6c5989ab3a8459d600ca3386571b31f Mon Sep 17 00:00:00 2001 From: nobled Date: Wed, 23 Jun 2010 21:31:28 -0400 Subject: 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 --- src/gallium/include/pipe/p_config.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gallium/include/pipe/p_config.h') diff --git a/src/gallium/include/pipe/p_config.h b/src/gallium/include/pipe/p_config.h index b81702a4fa..c6ea198dbb 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 -- cgit v1.2.3 From 5e2437a232b566702194bf379911d2680d24b642 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Wed, 14 Jul 2010 12:23:16 +0100 Subject: gallium: Add a new PIPE_ARCH_SSSE3 define for SSSE3 compiler support. --- src/gallium/include/pipe/p_config.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gallium/include/pipe/p_config.h') diff --git a/src/gallium/include/pipe/p_config.h b/src/gallium/include/pipe/p_config.h index c6ea198dbb..74a1fa2978 100644 --- a/src/gallium/include/pipe/p_config.h +++ b/src/gallium/include/pipe/p_config.h @@ -92,6 +92,11 @@ #else #define PIPE_ARCH_SSE #endif +#if defined(PIPE_CC_GCC) && !defined(__SSSE3__) +/* #warning SSE3 support requires -msse3 compiler options */ +#else +#define PIPE_ARCH_SSSE3 +#endif #endif #if defined(__PPC__) -- cgit v1.2.3