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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-01-30 02:55:32 +0300
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-01-30 02:55:32 +0300
commitc21908dd4c2503d88bad2b3fe1094ced6e45833b (patch)
tree471f8b34995765e9c6c80992cc9b99f2555a4348 /source/blender/freestyle/intern/system/FreestyleConfig.h
parent446af11fb39a78fc2ebeac3fc539baf61778420d (diff)
Replaced "math.h" by "BLI_math.h" to suppress a warning with regard
to redefinition of M_PI.
Diffstat (limited to 'source/blender/freestyle/intern/system/FreestyleConfig.h')
-rwxr-xr-xsource/blender/freestyle/intern/system/FreestyleConfig.h7
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("\\");