mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
gallium: Hopefully fix the cosf/sinf/etc. conditional compolation logic for good.
This commit is contained in:
parent
275fc32d58
commit
9b50043ea9
1 changed files with 1 additions and 3 deletions
|
|
@ -410,8 +410,7 @@ extern void pipe_copy_rect(ubyte * dst, unsigned cpp, unsigned dst_pitch,
|
|||
|
||||
|
||||
|
||||
#if !defined(_MSC_VER) || _MSC_VER < 0x800
|
||||
#if !defined(_INC_MATH) || !defined(__cplusplus)
|
||||
#if defined(_MSC_VER) && !defined(__cplusplus)
|
||||
|
||||
static INLINE float cosf( float f )
|
||||
{
|
||||
|
|
@ -453,7 +452,6 @@ static INLINE float logf( float f )
|
|||
return (float) cos( (double) f );
|
||||
}
|
||||
|
||||
#endif /* _INC_MATH */
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue