From a74e3f0c51487108c5b8afa54b83896a81660a43 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Fri, 25 Jul 2014 19:28:44 +0000 Subject: [PATCH] Fix arc4random detection. Patch by Pascal Stumpf. llvm-svn: 213966 --- llvm/include/llvm/Config/config.h.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/Config/config.h.cmake b/llvm/include/llvm/Config/config.h.cmake index 1dfa6ed..996f9ba 100644 --- a/llvm/include/llvm/Config/config.h.cmake +++ b/llvm/include/llvm/Config/config.h.cmake @@ -25,7 +25,7 @@ #cmakedefine ENABLE_TIMESTAMPS ${ENABLE_TIMESTAMPS} /* Define to 1 if you have the `arc4random' function. */ -#cmakedefine HAVE_ARC4RANDOM +#cmakedefine HAVE_DECL_ARC4RANDOM ${HAVE_DECL_ARC4RANDOM} /* Define to 1 if you have the `backtrace' function. */ #cmakedefine HAVE_BACKTRACE ${HAVE_BACKTRACE} -- 2.7.4