Let Lua use mkstemp' instead of tmpnam'.

It also fixes a linker warning.
This commit is contained in:
Mark de Wever 2011-06-13 15:58:19 +00:00
parent e6249c0254
commit 5f7ad19888

View file

@ -41,6 +41,8 @@ if(MSVC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
endif(MSVC)
# Use the safer `mkstemp' instead of `tmpnam'.
add_definitions(-DLUA_USE_MKSTEMP)
#check for some compiler/arch specific things and export defines accordingly...
include(SearchForStuff)