aboutsummaryrefslogtreecommitdiff
path: root/qdialskulpturestyle.cpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-02-28 11:09:54 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-02-28 11:09:54 +0800
commit60f306607ead64f329a4c1f875af3b7ff5ad1149 (patch)
treec43f4904460bc07e9c1635d10d0a11be41bcd1b4 /qdialskulpturestyle.cpp
parent20283f4c5629f659d05ba18475492c43163bb16e (diff)
downloadQMidiPlayer-60f306607ead64f329a4c1f875af3b7ff5ad1149.tar.xz
Forbidden Magic.
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