diff options
Diffstat (limited to 'fix_redefine_have_m_pi_error.patch')
-rw-r--r-- | fix_redefine_have_m_pi_error.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/fix_redefine_have_m_pi_error.patch b/fix_redefine_have_m_pi_error.patch new file mode 100644 index 000000000000..f852248f6001 --- /dev/null +++ b/fix_redefine_have_m_pi_error.patch @@ -0,0 +1,26 @@ +diff --git a/src/kre/SurfaceSDL.cpp b/src/kre/SurfaceSDL.cpp +index 6eda12ee..34f61b7c 100644 +--- a/src/kre/SurfaceSDL.cpp ++++ b/src/kre/SurfaceSDL.cpp +@@ -24,9 +24,6 @@ + #ifndef _USE_MATH_DEFINES + # define _USE_MATH_DEFINES 1 + #endif +-#ifndef HAVE_M_PI +-# define HAVE_M_PI +-#endif + + #include "SDL_image.h" + +diff --git a/src/tiled/tiled.cpp b/src/tiled/tiled.cpp +index 0812ed77..06e56288 100644 +--- a/src/tiled/tiled.cpp ++++ b/src/tiled/tiled.cpp +@@ -21,7 +21,6 @@ + distribution. + */ + +-#define HAVE_M_PI + #include "SDL.h" + #include "SDL_image.h" + |