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))