mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-29 23:33:02 +05:00
SilentPatchVC: Explicitly define _USE_MATH_DEFINES
Not doing that makes M_PI disappear (possibly) due to rwcore.h secretly including a math header (which breaks Maths.h on MinGW GCC)
This commit is contained in:
parent
00a48ec059
commit
dcde67d8e2
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#define _USE_MATH_DEFINES
|
||||
#include <rwcore.h>
|
||||
#include <rpworld.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue