diff options
author | Fedja Beader <fedja@protonmail.ch> | 2025-07-08 19:43:56 +0000 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2025-07-08 19:43:56 +0000 |
commit | c824be5b62a18de538ab93b2c8f3b33ecdb5eec2 (patch) | |
tree | f96a9b77ddf2dc7c34ff80947a2ddca5faf76394 /src/utils/xmlutils.cpp | |
parent | e84b6f17072db98fff209fb10a12fe18f5916693 (diff) | |
download | plus-c824be5b62a18de538ab93b2c8f3b33ecdb5eec2.tar.gz plus-c824be5b62a18de538ab93b2c8f3b33ecdb5eec2.tar.bz2 plus-c824be5b62a18de538ab93b2c8f3b33ecdb5eec2.tar.xz plus-c824be5b62a18de538ab93b2c8f3b33ecdb5eec2.zip |
Fix: MSYS on Windows has no M_PI?
Maybe a more "proper" fix would be to #define _USE_MATH_DEFINES before including math.h: https://learn.microsoft.com/en-us/cpp/c-runtime-library/math-constants?view=msvc-170
However:
1) SDL rotozoom already does it this way
2) Meway said: There is a way to do it more properly but it doesn't seem that its supported my msys however the above works.
**** mana/verse!209
Co-authored-by: Meway <mewaysid92@gmail.com>
Diffstat (limited to 'src/utils/xmlutils.cpp')
0 files changed, 0 insertions, 0 deletions