From 60f306607ead64f329a4c1f875af3b7ff5ad1149 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 28 Feb 2016 11:09:54 +0800 Subject: Forbidden Magic. --- qdialskulpturestyle.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qdialskulpturestyle.cpp') 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 -- cgit v1.2.3