summaryrefslogtreecommitdiff
path: root/premake5.lua
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-02-03 23:26:19 +0100
committerwithmorten <morten.with@gmail.com>2021-02-03 23:26:19 +0100
commitf7959d5646cf346a8134a0cea4db258fa3347461 (patch)
treeceb51a0f5ce6399c74e51249ab29694b63f7d50d /premake5.lua
parente077a6bf281f20be843766d31d13a3f5f5c5f70f (diff)
reduce warnings in msvc librw build
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/premake5.lua b/premake5.lua
index f715f1e5..08b600e4 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -204,6 +204,7 @@ project "librw"
architecture "amd64"
filter "platforms:win*"
+ defines { "_CRT_SECURE_NO_WARNINGS", "_CRT_NONSTDC_NO_DEPRECATE" }
staticruntime "on"
buildoptions { "/Zc:sizedDealloc-" }