forked from bartvdbraak/blender
Fix warnings about undefined _POSIX_C_SOURCE with gcc 4.2 on Mac.
This commit is contained in:
parent
13a4ad1a62
commit
08bc601aa5
@ -81,7 +81,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* do not redefine functions from C99 or POSIX.1-2001 */
|
/* do not redefine functions from C99 or POSIX.1-2001 */
|
||||||
#if !(defined(_ISOC99_SOURCE) || _POSIX_C_SOURCE >= 200112L)
|
#if !(defined(_ISOC99_SOURCE) || (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L))
|
||||||
|
|
||||||
#ifndef sqrtf
|
#ifndef sqrtf
|
||||||
#define sqrtf(a) ((float)sqrt(a))
|
#define sqrtf(a) ((float)sqrt(a))
|
||||||
|
Loading…
Reference in New Issue
Block a user