Use a better way for mkstemp.
This commit is contained in:
parent
cb7ec30523
commit
ff2f64c59f
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue