aboutsummaryrefslogtreecommitdiff
path: root/qdialskulpturestyle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qdialskulpturestyle.cpp')
-rw-r--r--qdialskulpturestyle.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/qdialskulpturestyle.cpp b/qdialskulpturestyle.cpp
index e7be93b..7c181a0 100644
--- a/qdialskulpturestyle.cpp
+++ b/qdialskulpturestyle.cpp
@@ -26,6 +26,10 @@
#include "qdialskulpturestyle.hpp"
+#ifndef M_PI
+#define M_PI 3.141592653589793f
+#endif
+
static const bool UsePixmapCache = true;
static void