summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r--src/gallium/include/pipe/p_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_util.h b/src/gallium/include/pipe/p_util.h
index fe4ba3a689d..9497eeeec9b 100644
--- a/src/gallium/include/pipe/p_util.h
+++ b/src/gallium/include/pipe/p_util.h
@@ -410,7 +410,7 @@ extern void pipe_copy_rect(ubyte * dst, unsigned cpp, unsigned dst_pitch,
-#if !defined(_MSC_VER) && _MSC_VER < 0x800
+#if !defined(_MSC_VER) || _MSC_VER < 0x800
#if !defined(_INC_MATH) || !defined(__cplusplus)
static INLINE float cosf( float f )