From 9780f3212e3ad1b9d154d71c6d775cbc87ead79f Mon Sep 17 00:00:00 2001 From: FutureRave Date: Tue, 25 Jan 2022 20:14:17 +0000 Subject: [PATCH] Force this define? --- premake5.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/premake5.lua b/premake5.lua index a101e423..e605dc71 100644 --- a/premake5.lua +++ b/premake5.lua @@ -253,12 +253,8 @@ workspace "iw4x" configurations { "Debug", "Release" } architecture "x86" platforms "x86" - --exceptionhandling ("SEH") - staticruntime "On" - defines { "_WINDOWS", "WIN32" } - filter "configurations:Release" defines { "NDEBUG" } flags { "MultiProcessorCompile", "LinkTimeOptimization", "No64BitChecks" } @@ -453,6 +449,7 @@ workspace "iw4x" workspace "*" cppdialect "C++17" defines { "_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS" } + defines { "_WINDOWS", "WIN32" } rule "ProtobufCompiler" display "Protobuf compiler"