mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-11-23 10:36:24 +00:00
Use the built-in version of vsnprintf() to support printing NULLs
This commit is contained in:
committed by
Ryan C. Gordon
parent
b98a501e0d
commit
f352eeb90c
@@ -1817,6 +1817,12 @@ elseif(UNIX AND NOT APPLE AND NOT RISCOS AND NOT HAIKU)
|
||||
set(HAVE_RPATH TRUE)
|
||||
endif()
|
||||
|
||||
if(QNX)
|
||||
# QNX's *printf() family generates a SIGSEGV if NULL is passed for a string
|
||||
# specifier (on purpose), but SDL expects "(null)". Use the built-in
|
||||
# implementation.
|
||||
set (HAVE_VSNPRINTF 0)
|
||||
endif()
|
||||
elseif(WINDOWS)
|
||||
find_program(WINDRES windres)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user