From 7b7c94118162589b0423d432268bf609d4c78a42 Mon Sep 17 00:00:00 2001 From: Jonathan Adamczewski Date: Thu, 12 Jan 2017 16:13:27 -0800 Subject: [PATCH] Disable exception handling in MS std headers --- RecastDemo/premake5.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RecastDemo/premake5.lua b/RecastDemo/premake5.lua index 04334b4..2dfab88 100644 --- a/RecastDemo/premake5.lua +++ b/RecastDemo/premake5.lua @@ -35,7 +35,7 @@ solution "recastnavigation" -- windows specific configuration "windows" - defines { "WIN32", "_WINDOWS", "_CRT_SECURE_NO_WARNINGS" } + defines { "WIN32", "_WINDOWS", "_CRT_SECURE_NO_WARNINGS", "_HAS_EXCEPTIONS=0" } -- linux specific configuration { "linux", "gmake" }