summaryrefslogtreecommitdiff
path: root/src/gallium/include
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-24 01:25:20 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-24 02:39:16 +0900
commit72b6fddefb15b98499eda422a30a1e92da4c2850 (patch)
tree05b25ab77bc8ddb436c3585b7b740c824e7aca35 /src/gallium/include
parent25da42a650048cd960c81af56744e5fdadd923ad (diff)
gallium: WinCE does not have cosf, sinf, etc.
Diffstat (limited to 'src/gallium/include')
-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 8b3003bcef..f62faf616a 100644
--- a/src/gallium/include/pipe/p_util.h
+++ b/src/gallium/include/pipe/p_util.h
@@ -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 )
{