summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/config-ix.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
commit426f0ceb8aafe941615f333f63596c6f59fc4a18 (patch)
treeffef93a0d44e6922abe0a3f11ca59f243b45f953 /llvm/cmake/config-ix.cmake
parentf492f58182b64faadfacd72ec6c1810abb1bdb27 (diff)
downloadbcm5719-llvm-426f0ceb8aafe941615f333f63596c6f59fc4a18.tar.gz
bcm5719-llvm-426f0ceb8aafe941615f333f63596c6f59fc4a18.zip
Remove stro(u?)ll() config checks. Those were needed pre-MSVC2013, but we require 2015 nowadays.
llvm-svn: 328979
Diffstat (limited to 'llvm/cmake/config-ix.cmake')
-rw-r--r--llvm/cmake/config-ix.cmake11
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/cmake/config-ix.cmake b/llvm/cmake/config-ix.cmake
index be4ecde7274..6cbf2ace95b 100644
--- a/llvm/cmake/config-ix.cmake
+++ b/llvm/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")
OpenPOWER on IntegriCloud