# HG changeset patch # User Chris Cannam # Date 1427731081 -3600 # Node ID 7598a78cf9150f13e6b85e1f5848d8e69bbc5064 # Parent c49d52386cde0844cef30d8904a4fe409cec3d5c M_PI diff -r c49d52386cde -r 7598a78cf915 base/Window.h --- a/base/Window.h Wed Mar 25 10:54:51 2015 +0000 +++ b/base/Window.h Mon Mar 30 16:58:01 2015 +0100 @@ -22,7 +22,7 @@ #include #include -#include +#include "system/System.h" enum WindowType { RectangularWindow, diff -r c49d52386cde -r 7598a78cf915 system/System.h --- a/system/System.h Wed Mar 25 10:54:51 2015 +0000 +++ b/system/System.h Mon Mar 30 16:58:01 2015 +0100 @@ -156,6 +156,10 @@ #include +#ifndef M_PI +#define M_PI 3.14159265358979323846 +#endif + extern double mod(double x, double y); extern float modf(float x, float y);