diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2016-09-29 21:31:54 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2016-09-29 21:31:54 +0000 |
commit | 0f1a98ea8d56d06832f876c78542ef56318afc81 (patch) | |
tree | 79bd4547233e7f7ed0db4df7613f916a96f45a10 | |
parent | ff41f5f600f66d1b27f76f16a74c6ce3347a74d0 (diff) | |
download | bcm5719-llvm-0f1a98ea8d56d06832f876c78542ef56318afc81.tar.gz bcm5719-llvm-0f1a98ea8d56d06832f876c78542ef56318afc81.zip |
GC srand48/lrand48/drand48.
llvm-svn: 282779
-rwxr-xr-x | llvm/cmake/config-ix.cmake | 10 | ||||
-rw-r--r-- | llvm/include/llvm/Config/config.h.cmake | 3 |
2 files changed, 0 insertions, 13 deletions
diff --git a/llvm/cmake/config-ix.cmake b/llvm/cmake/config-ix.cmake index b70e6566747..d0ba8ee9f1b 100755 --- a/llvm/cmake/config-ix.cmake +++ b/llvm/cmake/config-ix.cmake @@ -176,16 +176,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(srand48 stdlib.h HAVE_RAND48_SRAND48) -if( HAVE_RAND48_SRAND48 ) - check_symbol_exists(lrand48 stdlib.h HAVE_RAND48_LRAND48) - if( HAVE_RAND48_LRAND48 ) - check_symbol_exists(drand48 stdlib.h HAVE_RAND48_DRAND48) - if( HAVE_RAND48_DRAND48 ) - set(HAVE_RAND48 1 CACHE INTERNAL "are srand48/lrand48/drand48 available?") - endif() - endif() -endif() check_symbol_exists(strtoll stdlib.h HAVE_STRTOLL) check_symbol_exists(strtoq stdlib.h HAVE_STRTOQ) check_symbol_exists(strerror string.h HAVE_STRERROR) diff --git a/llvm/include/llvm/Config/config.h.cmake b/llvm/include/llvm/Config/config.h.cmake index 27486fff464..deecd0bc9da 100644 --- a/llvm/include/llvm/Config/config.h.cmake +++ b/llvm/include/llvm/Config/config.h.cmake @@ -212,9 +212,6 @@ /* Have pthread_rwlock_init */ #cmakedefine HAVE_PTHREAD_RWLOCK_INIT ${HAVE_PTHREAD_RWLOCK_INIT} -/* Define to 1 if srand48/lrand48/drand48 exist in <stdlib.h> */ -#cmakedefine HAVE_RAND48 ${HAVE_RAND48} - /* Define to 1 if you have the `realpath' function. */ #cmakedefine HAVE_REALPATH ${HAVE_REALPATH} |