mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-03 10:55:57 -04:00
Define M_PI if it isn't
This commit is contained in:
parent
40d4b4773d
commit
05c0690ea5
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user