summaryrefslogtreecommitdiff
path: root/src/ftgl/FTContour.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ftgl/FTContour.cpp')
-rw-r--r--src/ftgl/FTContour.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ftgl/FTContour.cpp b/src/ftgl/FTContour.cpp
index cef1f3b..6b92812 100644
--- a/src/ftgl/FTContour.cpp
+++ b/src/ftgl/FTContour.cpp
@@ -33,6 +33,9 @@
static const unsigned int BEZIER_STEPS = 5;
+#ifndef M_PI
+#define M_PI 3.14159265358979323846
+#endif
void FTContour::AddPoint(FTPoint point)
{