diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-01-25 17:51:49 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-01-25 17:51:49 +0400 |
commit | 08bc601aa59be6381b96521a6ede58fe7e977b08 (patch) | |
tree | 74838be231bccd7d188c24dd860d8b2ec71b8769 /source/blender/blenlib | |
parent | 13a4ad1a624ce30425150ec023323a93671a0310 (diff) |
Fix warnings about undefined _POSIX_C_SOURCE with gcc 4.2 on Mac.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_math_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_math_base.h b/source/blender/blenlib/BLI_math_base.h index 56c8ffb6931..94063c9a40a 100644 --- a/source/blender/blenlib/BLI_math_base.h +++ b/source/blender/blenlib/BLI_math_base.h @@ -81,7 +81,7 @@ #endif /* 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 #define sqrtf(a) ((float)sqrt(a)) |