Remove an unnecessary check for vsnprintf
This commit is contained in:
@@ -326,16 +326,6 @@ IF(NOT HAVE_SNPRINTF)
|
||||
ADD_DEFINITIONS(-Dsnprintf=_snprintf)
|
||||
ENDIF()
|
||||
|
||||
CHECK_FUNCTION_EXISTS(vsnprintf HAVE_VSNPRINTF)
|
||||
IF(NOT HAVE_VSNPRINTF)
|
||||
CHECK_FUNCTION_EXISTS(_vsnprintf HAVE__VSNPRINTF)
|
||||
IF(NOT HAVE__VSNPRINTF)
|
||||
MESSAGE(FATAL_ERROR "No vsnprintf function found, please report!")
|
||||
ENDIF()
|
||||
|
||||
ADD_DEFINITIONS(-Dvsnprintf=_vsnprintf)
|
||||
ENDIF()
|
||||
|
||||
CHECK_SYMBOL_EXISTS(isfinite math.h HAVE_ISFINITE)
|
||||
IF(NOT HAVE_ISFINITE)
|
||||
CHECK_FUNCTION_EXISTS(finite HAVE_FINITE)
|
||||
|
||||
Reference in New Issue
Block a user