Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-01-25 17:51:49 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-01-25 17:51:49 +0400
commit08bc601aa59be6381b96521a6ede58fe7e977b08 (patch)
tree74838be231bccd7d188c24dd860d8b2ec71b8769 /source
parent13a4ad1a624ce30425150ec023323a93671a0310 (diff)
Fix warnings about undefined _POSIX_C_SOURCE with gcc 4.2 on Mac.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenlib/BLI_math_base.h2
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))