Add a define on POSIX system for lua to silence a warning about tmpname vs mkstmp

Since the define LUA_USE_MACOSX and LUA_USE_LINUX seems to lead to the same subdefine it will do the job
This commit is contained in:
ImperatorS79 2020-07-10 19:50:21 +02:00 committed by Jérôme Leclercq
parent 884a34704d
commit ee3b5347b8
1 changed files with 8 additions and 0 deletions

View File

@ -8,3 +8,11 @@ LIBRARY.Files = {
"../thirdparty/src/Lua/*.h",
"../thirdparty/src/Lua/*.cpp"
}
LIBRARY.OsDefines.Windows = {
"LUA_USE_WINDOWS"
}
LIBRARY.OsDefines.Posix = {
"LUA_USE_LINUX"
}