diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-05-15 10:11:08 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-05-15 10:11:08 +0200 |
commit | 53e66dbf4c17b4f823f57c974c77b6f7f02627bf (patch) | |
tree | e97d16a705f6299e0807f76b635d3e454aad379c /src | |
parent | e3821e26ad868bdd78f999695cd70e6e132da4a8 (diff) |
Make sure that M_PI is defined.
Diffstat (limited to 'src')
-rw-r--r-- | src/powerlist.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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 <stdlib.h> + +// Otherwise M_PI is not defined in math.h on some older platforms... +#define _USE_MATH_DEFINES #include <math.h> + #include <string.h> #include <hugin.hpp> |