From 6d069b631fb592ebf37993d7f4e65f8a4b051823 Mon Sep 17 00:00:00 2001 From: ccrs Date: Thu, 19 Apr 2018 15:02:07 +0200 Subject: [PATCH] Build: fix noPCH --- src/common/Common.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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