[PATCH] change llvm configure arc4random presence test to fix broken configuration

Peter Collingbourne peter at pcc.me.uk
Tue Feb 4 16:12:06 PST 2014


On Tue, Feb 04, 2014 at 04:03:29PM -0800, Todd Fiala wrote:
> -#if !defined(HAVE_ARC4RANDOM)
> +#if !defined(HAVE_DECL_ARC4RANDOM) || !HAVE_DECL_ARC4RANDOM

I think you also need to rename the symbol in the CMake scripts (cmake/config-ix.cmake
and include/llvm/Config/config.h.cmake).

Thanks,
-- 
Peter



More information about the llvm-commits mailing list