llvm.org GIT mirror llvm / f38a3ac
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 Nico Weber 2 years ago
2 changed file(s) with 0 addition(s) and 20 deletion(s). Raw diff Collapse all Expand all
208208 check_symbol_exists(pread unistd.h HAVE_PREAD)
209209 check_symbol_exists(realpath stdlib.h HAVE_REALPATH)
210210 check_symbol_exists(sbrk unistd.h HAVE_SBRK)
211 check_symbol_exists(strtoll stdlib.h HAVE_STRTOLL)
212211 check_symbol_exists(strerror string.h HAVE_STRERROR)
213212 check_symbol_exists(strerror_r string.h HAVE_STRERROR_R)
214213 check_symbol_exists(strerror_s string.h HAVE_DECL_STRERROR_S)
442441 # include(CheckLibraryExists)
443442 endif( MINGW )
444443
445 if (NOT HAVE_STRTOLL)
446 # Use _strtoi64 if strtoll is not available.
447 check_symbol_exists(_strtoi64 stdlib.h have_strtoi64)
448 if (have_strtoi64)
449 set(HAVE_STRTOLL 1)
450 set(strtoll "_strtoi64")
451 set(strtoull "_strtoui64")
452 endif ()
453 endif ()
454
455444 if( MSVC )
456445 set(SHLIBEXT ".lib")
457446 set(stricmp "_stricmp")
190190 /* Define to 1 if you have the `strerror_r' function. */
191191 #cmakedefine HAVE_STRERROR_R ${HAVE_STRERROR_R}
192192
193 /* Define to 1 if you have the `strtoll' function. */
194 #cmakedefine HAVE_STRTOLL ${HAVE_STRTOLL}
195
196193 /* Define to 1 if you have the `sysconf' function. */
197194 #cmakedefine HAVE_SYSCONF ${HAVE_SYSCONF}
198195
385382 /* Define as the return type of signal handlers (`int' or `void'). */
386383 #cmakedefine RETSIGTYPE ${RETSIGTYPE}
387384
388 /* Define to a function replacing strtoll */
389 #cmakedefine strtoll ${strtoll}
390
391 /* Define to a function implementing strtoull */
392 #cmakedefine strtoull ${strtoull}
393
394385 /* Define to a function implementing stricmp */
395386 #cmakedefine stricmp ${stricmp}
396387