summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2008-05-31 18:40:00 +0200
committerMichal Krol <[email protected]>2008-05-31 18:40:00 +0200
commit9046d1acfa91621ee83b3933fe6e4b52deb00cbf (patch)
treed7a9830b0e7f7dd5d4c3f4bcef53bd03e0de6fa4 /src/gallium
parent13581958bd99396ab8ec314f10cf61f717b18a9b (diff)
gallium: Fix preprocessor logic.
Diffstat (limited to 'src/gallium')
-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 )