Skip to content

Commit

Permalink
SilentPatchVC: Explicitly define _USE_MATH_DEFINES
Browse files Browse the repository at this point in the history
Not doing that makes M_PI disappear (possibly) due to rwcore.h
secretly including a math header (which breaks Maths.h on MinGW
GCC)
  • Loading branch information
TheComputerGuy96 committed Nov 7, 2024
1 parent 9d260b4 commit ff4112c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SilentPatchVC/ModelInfoVC.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once

#define _USE_MATH_DEFINES
#include <rwcore.h>
#include <rpworld.h>

Expand Down

0 comments on commit ff4112c

Please sign in to comment.