From: José Fonseca Date: Tue, 30 Sep 2008 23:28:05 +0000 (+0900) Subject: util: No-op u_sse.h outside PIPE_ARCH_X86/X86_64. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cb8a3ba433190b7af254349b00d356b31e813a1a;p=mesa.git util: No-op u_sse.h outside PIPE_ARCH_X86/X86_64. --- diff --git a/src/gallium/auxiliary/util/u_sse.h b/src/gallium/auxiliary/util/u_sse.h index 0c8356cd057..68e56f08165 100644 --- a/src/gallium/auxiliary/util/u_sse.h +++ b/src/gallium/auxiliary/util/u_sse.h @@ -37,6 +37,10 @@ #ifndef U_SSE_H_ #define U_SSE_H_ +#include "pipe/p_config.h" + +#if defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64) + #include #include @@ -66,7 +70,8 @@ _mm_castps_si128(__m128 a) return u.m128i; } -#endif +#endif /* defined(_MSC_VER) && _MSC_VER < 1500 */ +#endif /* PIPE_ARCH_X86 || PIPE_ARCH_X86_64 */ #endif /* U_SSE_H_ */