Commit b8d7abf5 authored by nanahira's avatar nanahira

allow lua safe in client

parent dcf524f9
...@@ -10,7 +10,11 @@ solution "ygo" ...@@ -10,7 +10,11 @@ solution "ygo"
end end
configurations { "Release", "Debug" } configurations { "Release", "Debug" }
if os.getenv("YGOPRO_LUA_SAVE") then
defines { "LUA_COMPAT_5_2", "YGOPRO_LUA_SAFE" }
else
defines { "LUA_COMPAT_5_2" } defines { "LUA_COMPAT_5_2" }
end
configuration "windows" configuration "windows"
defines { "WIN32", "_WIN32", "WINVER=0x0501" } defines { "WIN32", "_WIN32", "WINVER=0x0501" }
libdirs { "$(DXSDK_DIR)Lib/x86" } libdirs { "$(DXSDK_DIR)Lib/x86" }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment