diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-20 05:02:39 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-20 05:02:39 +0400 |
commit | 25c96bc9f348814d50095710c30ddc2776f5bb12 (patch) | |
tree | d462c55b492afaa4e52077475af8af984418c6fc /intern/cycles/util | |
parent | 5d56a901a8b5f103cc2511941e70f6daa0bd9a3a (diff) |
code cleanup: remove unused macros, commet some which may be useful later - or good to keep for completeness. quieted some warnings and add flags -Wmissing-include-dirs and -Wno-div-by-zero to cmake/gcc
Diffstat (limited to 'intern/cycles/util')
-rw-r--r-- | intern/cycles/util/util_math.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/cycles/util/util_math.h b/intern/cycles/util/util_math.h index 71a5dedeaa4..0b6f020ade5 100644 --- a/intern/cycles/util/util_math.h +++ b/intern/cycles/util/util_math.h @@ -26,7 +26,9 @@ #ifndef __KERNEL_OPENCL__ -#define _USE_MATH_DEFINES +#ifdef _MSC_VER +# define _USE_MATH_DEFINES +#endif #include <float.h> #include <math.h> |