gallium: Fix preprocessor logic.
authorMichal Krol <michal@tungstengraphics.com>
Sat, 31 May 2008 16:40:00 +0000 (18:40 +0200)
committerMichal Krol <michal@tungstengraphics.com>
Sat, 31 May 2008 16:40:00 +0000 (18:40 +0200)
src/gallium/include/pipe/p_util.h

index fe4ba3a689d9cc3ca84e76a93523faea7c919a50..9497eeeec9b55af448be00dbe8d6461156e6eae9 100644 (file)
@@ -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 )