diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-01-30 02:55:32 +0300 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-01-30 02:55:32 +0300 |
commit | c21908dd4c2503d88bad2b3fe1094ced6e45833b (patch) | |
tree | 471f8b34995765e9c6c80992cc9b99f2555a4348 /source | |
parent | 446af11fb39a78fc2ebeac3fc539baf61778420d (diff) |
Replaced "math.h" by "BLI_math.h" to suppress a warning with regard
to redefinition of M_PI.
Diffstat (limited to 'source')
-rwxr-xr-x | source/blender/freestyle/intern/system/FreestyleConfig.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/freestyle/intern/system/FreestyleConfig.h b/source/blender/freestyle/intern/system/FreestyleConfig.h index 620a4b50c53..f06b9928d1d 100755 --- a/source/blender/freestyle/intern/system/FreestyleConfig.h +++ b/source/blender/freestyle/intern/system/FreestyleConfig.h @@ -32,17 +32,12 @@ # define CONFIG_H # include <string> -# include <math.h> +# include "BLI_math.h" using namespace std; namespace Config { - // Pi definition -# ifndef M_PI -# define M_PI 3.14159265 -# endif // M_PI - // Directory separators # ifdef WIN32 static const string DIR_SEP("\\"); |