Use a better way for mkstemp.

This commit is contained in:
Mark de Wever 2011-06-13 17:24:14 +00:00
parent cb7ec30523
commit ff2f64c59f

View file

@ -41,8 +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)
# Use the safer `mkstemp' instead of `tmpnam' on POSIX systems.
add_definitions(-DLUA_USE_POSIX)
#check for some compiler/arch specific things and export defines accordingly...
include(SearchForStuff)