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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-06-20 08:17:32 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-06-20 08:17:32 +0300
commit74b32a23f7c27f03285d28d381f841e08cbbb486 (patch)
treea34bd8427760e98186d1c3fb5e647acc6550e103 /source/blender/blenlib/BLI_math_base.h
parent4addabaed8b1836b84a8d255b4ff3bb865882de5 (diff)
Cleanup: checks for unsupported MSVC versions
Diffstat (limited to 'source/blender/blenlib/BLI_math_base.h')
-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 79a2d57c966..39c1b22a632 100644
--- a/source/blender/blenlib/BLI_math_base.h
+++ b/source/blender/blenlib/BLI_math_base.h
@@ -90,7 +90,7 @@ static const int NAN_INT = 0x7FC00000;
#endif
/* do not redefine functions from C99, POSIX.1-2001 or MSVC12 (partial C99) */
-#if !(defined(_ISOC99_SOURCE) || (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L) || (defined(_MSC_VER) && _MSC_VER >= 1800))
+#if !(defined(_ISOC99_SOURCE) || (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L) || defined(_MSC_VER))
#ifndef sqrtf
#define sqrtf(a) ((float)sqrt(a))