From 53e66dbf4c17b4f823f57c974c77b6f7f02627bf Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 15 May 2015 10:11:08 +0200 Subject: Make sure that M_PI is defined. --- src/powerlist.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/powerlist.cc b/src/powerlist.cc index 6fc77ad..6cff863 100644 --- a/src/powerlist.cc +++ b/src/powerlist.cc @@ -27,7 +27,11 @@ #include "powerlist.h" #include + +// Otherwise M_PI is not defined in math.h on some older platforms... +#define _USE_MATH_DEFINES #include + #include #include -- cgit v1.2.3