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>2014-01-03 13:46:12 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-01-03 13:46:12 +0400
commita288644b1eaef1017d21368bd04c3ee1f038ff4c (patch)
tree82dd0dd2d688b873a6d9c97607189a268c97aca4 /intern/cycles/util/util_math.h
parentf489e0c14cbf852472a2c89328c37adfe4b9f21c (diff)
Code Cleanup: WIN32 defines, check for _MSC_VER instead of !FREE_WINDOWS
Diffstat (limited to 'intern/cycles/util/util_math.h')
-rw-r--r--intern/cycles/util/util_math.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/intern/cycles/util/util_math.h b/intern/cycles/util/util_math.h
index fdee1e90486..f35129c4178 100644
--- a/intern/cycles/util/util_math.h
+++ b/intern/cycles/util/util_math.h
@@ -78,11 +78,11 @@ CCL_NAMESPACE_BEGIN
#ifndef __KERNEL_GPU__
-#if (!defined(FREE_WINDOWS)) && (_MSC_VER < 1800)
-#define copysignf(x, y) ((float)_copysign(x, y))
-#define hypotf(x, y) _hypotf(x, y)
-#define isnan(x) _isnan(x)
-#define isfinite(x) _finite(x)
+#if defined(_MSC_VER) && (_MSC_VER < 1800)
+# define copysignf(x, y) ((float)_copysign(x, y))
+# define hypotf(x, y) _hypotf(x, y)
+# define isnan(x) _isnan(x)
+# define isfinite(x) _finite(x)
#endif
#endif