From 8a5907902cd8a490cb5d7b5c13f8e4d72362cb0e Mon Sep 17 00:00:00 2001 From: Hyper <34012267+hyperbx@users.noreply.github.com> Date: Fri, 7 Mar 2025 00:51:52 +0000 Subject: [PATCH] Fix ifdefs --- UnleashedRecomp/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UnleashedRecomp/main.cpp b/UnleashedRecomp/main.cpp index 10ed15ef..849c170d 100644 --- a/UnleashedRecomp/main.cpp +++ b/UnleashedRecomp/main.cpp @@ -27,7 +27,7 @@ #include #endif -#if _WIN32 && UNLEASHED_RECOMP_D3D12 +#if defined(_WIN32) && defined(UNLEASHED_RECOMP_D3D12) static std::array g_D3D12RequiredModules = { "D3D12/D3D12Core.dll", @@ -189,7 +189,7 @@ int main(int argc, char *argv[]) Config::Load(); -#if _WIN32 && UNLEASHED_RECOMP_D3D12 +#if defined(_WIN32) && defined(UNLEASHED_RECOMP_D3D12) for (auto& dll : g_D3D12RequiredModules) { if (!std::filesystem::exists(g_executableRoot / dll))