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

This commit is contained in:
Campbell Barton
2012-09-20 01:02:39 +00:00
parent 5d56a901a8
commit 25c96bc9f3
72 changed files with 109 additions and 198 deletions

View File

@@ -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>