gallium: WinCE does not have cosf, sinf, etc.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Mon, 23 Jun 2008 16:25:20 +0000 (01:25 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Mon, 23 Jun 2008 17:39:16 +0000 (02:39 +0900)
src/gallium/include/pipe/p_util.h

index 8b3003bcefb233f7eb94dc98a1f9f812a2855c6e..f62faf616a983b44f16bd5882c904fb38a615498 100644 (file)
@@ -409,7 +409,7 @@ extern void pipe_copy_rect(ubyte * dst, unsigned cpp, unsigned dst_pitch,
 
 
 #if defined(_MSC_VER) 
-#if _MSC_VER < 1400 && !defined(__cplusplus)
+#if _MSC_VER < 1400 && !defined(__cplusplus) || defined(PIPE_SUBSYSTEM_WINDOWS_CE)
  
 static INLINE float cosf( float f ) 
 {