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:
parent
884a34704d
commit
ee3b5347b8
|
|
@ -8,3 +8,11 @@ LIBRARY.Files = {
|
||||||
"../thirdparty/src/Lua/*.h",
|
"../thirdparty/src/Lua/*.h",
|
||||||
"../thirdparty/src/Lua/*.cpp"
|
"../thirdparty/src/Lua/*.cpp"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LIBRARY.OsDefines.Windows = {
|
||||||
|
"LUA_USE_WINDOWS"
|
||||||
|
}
|
||||||
|
|
||||||
|
LIBRARY.OsDefines.Posix = {
|
||||||
|
"LUA_USE_LINUX"
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue