diff options
-rw-r--r-- | src/gui/kernel/qdirectionrecognizer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kernel/qdirectionrecognizer.cpp b/src/gui/kernel/qdirectionrecognizer.cpp index b88d4f0..a1bc5b1 100644 --- a/src/gui/kernel/qdirectionrecognizer.cpp +++ b/src/gui/kernel/qdirectionrecognizer.cpp @@ -43,6 +43,10 @@ #include <math.h> +#ifndef M_PI +#define M_PI 3.141592653589793238462643 +#endif + QT_BEGIN_NAMESPACE enum { |