mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-21 10:00:36 +01:00
gallium: MSVC 8.0 already defines the cosf, sinf, etc.
This commit is contained in:
parent
a9d6b1afa5
commit
054189e87a
1 changed files with 2 additions and 2 deletions
|
|
@ -410,8 +410,7 @@ extern void pipe_copy_rect(ubyte * dst, unsigned cpp, unsigned dst_pitch,
|
|||
|
||||
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
#if !defined(_MSC_VER) && _MSC_VER < 0x800
|
||||
#if !defined(_INC_MATH) || !defined(__cplusplus)
|
||||
|
||||
static INLINE float cosf( float f )
|
||||
|
|
@ -453,6 +452,7 @@ static INLINE float logf( float f )
|
|||
{
|
||||
return (float) cos( (double) f );
|
||||
}
|
||||
|
||||
#endif /* _INC_MATH */
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue