summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2018-04-02 14:36:34 +0000
committerNico Weber <nicolasweber@gmx.de>2018-04-02 14:36:34 +0000
commitf38a3ac0efe51fcfa8ff8d60ce087f084b72611a (patch)
tree60cf3847cd06539d18a111a94de8655834131946 /cmake
parent58ab7f7e03d594421a8cbd80d2ad6e1fc0a1aab1 (diff)
Remove stro(u?)ll() config checks. Those were needed pre-MSVC2013, but we require 2015 nowadays.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328979 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/config-ix.cmake11
1 files changed, 0 insertions, 11 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index be4ecde7274..6cbf2ace95b 100644
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -209,7 +209,6 @@ check_symbol_exists(posix_spawn spawn.h HAVE_POSIX_SPAWN)
check_symbol_exists(pread unistd.h HAVE_PREAD)
check_symbol_exists(realpath stdlib.h HAVE_REALPATH)
check_symbol_exists(sbrk unistd.h HAVE_SBRK)
-check_symbol_exists(strtoll stdlib.h HAVE_STRTOLL)
check_symbol_exists(strerror string.h HAVE_STRERROR)
check_symbol_exists(strerror_r string.h HAVE_STRERROR_R)
check_symbol_exists(strerror_s string.h HAVE_DECL_STRERROR_S)
@@ -443,16 +442,6 @@ if( MINGW )
# include(CheckLibraryExists)
endif( MINGW )
-if (NOT HAVE_STRTOLL)
- # Use _strtoi64 if strtoll is not available.
- check_symbol_exists(_strtoi64 stdlib.h have_strtoi64)
- if (have_strtoi64)
- set(HAVE_STRTOLL 1)
- set(strtoll "_strtoi64")
- set(strtoull "_strtoui64")
- endif ()
-endif ()
-
if( MSVC )
set(SHLIBEXT ".lib")
set(stricmp "_stricmp")