From: José Fonseca Date: Mon, 23 Jun 2008 16:25:20 +0000 (+0900) Subject: gallium: WinCE does not have cosf, sinf, etc. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=72b6fddefb15b98499eda422a30a1e92da4c2850;p=mesa.git gallium: WinCE does not have cosf, sinf, etc. --- diff --git a/src/gallium/include/pipe/p_util.h b/src/gallium/include/pipe/p_util.h index 8b3003bcefb..f62faf616a9 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 ) {