mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Don't define M_PI if we are using MSVC and USE_MATH_DEFINES is
already defined
This commit is contained in:
parent
c6e150ae2a
commit
21ddee6690
@ -68,8 +68,10 @@
|
||||
#endif
|
||||
|
||||
#ifndef M_PI
|
||||
#if !defined(_MSC_VER) && !defined(USE_MATH_DEFINES)
|
||||
#define M_PI 3.14159265358979323846264338327
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef MAX
|
||||
#define MAX(a, b) ((a) > (b) ? (a) : (b))
|
||||
|
Loading…
x
Reference in New Issue
Block a user