aboutsummaryrefslogtreecommitdiff
path: root/src/common/Common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/Common.h')
-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 114f24ea132..7c0f2b37142 100644
--- a/src/common/Common.h
+++ b/src/common/Common.h
@@ -131,7 +131,11 @@ struct LocalizedString
#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