Define M_PI if it isn't

This commit is contained in:
Dmitry Marakasov 2015-09-09 14:37:05 +03:00
parent 40d4b4773d
commit 05c0690ea5

View File

@ -32,6 +32,10 @@
#include <SDL2pp/Texture.hh>
#include <SDL2pp/Surface.hh>
#if !defined(M_PI)
#define M_PI 3.14159265358979323846f
#endif
using namespace SDL2pp;
int Run() {