aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorccrs <ccrs@users.noreply.github.com>2018-04-19 15:02:07 +0200
committerccrs <ccrs@users.noreply.github.com>2018-04-19 15:02:07 +0200
commit6d069b631fb592ebf37993d7f4e65f8a4b051823 (patch)
tree2f8ebadc49efca03962c883f4ec4810eee0cbadd /src
parentf9914caefc59f36ab7583432442a26b29124b7f1 (diff)
Build: fix noPCH
Diffstat (limited to 'src')
-rw-r--r--src/common/Common.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/common/Common.h b/src/common/Common.h
index 7039fce194f..9fdcb78587a 100644
--- a/src/common/Common.h
+++ b/src/common/Common.h
@@ -115,7 +115,11 @@ TC_COMMON_API LocaleConstant GetLocaleByName(std::string const& name);
#endif
#ifndef M_PI
-#define M_PI 3.14159265358979323846
+#define M_PI 3.14159265358979323846
+#endif
+
+#ifndef M_PI_4
+#define M_PI_4 0.785398163397448309616
#endif
#define MAX_QUERY_LEN 32*1024