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:29:25 +0100
commit1525b105e2d107bd7392a17ed17cac561e0493a1 (patch)
treed94f29129fc7688d869028b222026cbc12e942e8 /premake5.lua
parentbba01a42e10de9a2a30acdfe96610482cae3ef87 (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 f2e6a71f..f49e024c 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-" }