diff options
author | Chris Robinson <[email protected]> | 2013-05-22 14:24:30 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-05-22 14:24:30 -0700 |
commit | 1bed3cff213548204873c227b4b5dae8e9c27846 (patch) | |
tree | b3d46da06ca4faf00e9f4fafa25c232cb0484b90 /CMakeLists.txt | |
parent | cdbb0722f642faa9f8d6e64f552a1e620f2b023e (diff) |
Remove an unnecessary check for vsnprintf
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4165cbe1..b86de3d3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) |