diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common/Common.h | 6 |
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 |