From dcde67d8e20fb0dd03ef23cf597782e1b22215c3 Mon Sep 17 00:00:00 2001 From: Echo J Date: Thu, 7 Nov 2024 10:22:29 +0200 Subject: [PATCH] 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) --- SilentPatchVC/ModelInfoVC.h | 1 + 1 file changed, 1 insertion(+) diff --git a/SilentPatchVC/ModelInfoVC.h b/SilentPatchVC/ModelInfoVC.h index b1977c4..018f5d0 100644 --- a/SilentPatchVC/ModelInfoVC.h +++ b/SilentPatchVC/ModelInfoVC.h @@ -1,5 +1,6 @@ #pragma once +#define _USE_MATH_DEFINES #include #include