Commit f60661e1 authored by nanahira's avatar nanahira

move define to root

parent 2c3291a0
......@@ -3,7 +3,6 @@ include "lzma/."
project "ygopro"
kind "ConsoleApp"
defines { "YGOPRO_SERVER_MODE" }
local mr=os.getenv("YGOPRO_DEFAULT_DUEL_RULE")
if mr and tonumber(mr) then defines { "DEFAULT_DUEL_RULE="..tonumber(mr) } end
......
......@@ -5,7 +5,7 @@ solution "ygo"
--startproject "ygopro"
configurations { "Release", "Debug" }
defines { "LUA_COMPAT_5_2" }
defines { "LUA_COMPAT_5_2", "LUA_SAFE_MODE", "YGOPRO_SERVER_MODE" }
configuration "windows"
defines { "WIN32", "_WIN32" }
......
......@@ -4,7 +4,7 @@ solution "ygo"
objdir "obj"
configurations { "Release", "Debug" }
defines { "LUA_COMPAT_5_2", "LUA_SAFE_MODE" }
defines { "LUA_COMPAT_5_2", "LUA_SAFE_MODE", "YGOPRO_SERVER_MODE" }
configuration "windows"
defines { "WIN32", "_WIN32" }
startproject "ygopro"
......
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