From cea6fb5f1c653e52528f26a8a77fc912b7ed012d Mon Sep 17 00:00:00 2001 From: Shih-wei Liao Date: Wed, 9 May 2012 18:19:51 -0700 Subject: Fix Mac build breakage. Error message: external/llvm/lib/Support/Unix/Memory.inc:51: error: 'MAP_ANONYMOUS' was not declared in this scope Change-Id: Ibe66561ab0fec678ecb357f07192a811ddd47240 --- host/include/llvm/Config/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/include/llvm/Config/config.h b/host/include/llvm/Config/config.h index 1d16f41..67e1363 100644 --- a/host/include/llvm/Config/config.h +++ b/host/include/llvm/Config/config.h @@ -264,7 +264,7 @@ /* Define if mmap() uses MAP_ANONYMOUS to map anonymous pages, or undefine if it uses MAP_ANON */ -#define HAVE_MMAP_ANONYMOUS 1 +/* #undef HAVE_MMAP_ANONYMOUS */ /* Define if mmap() can map files into memory */ #define HAVE_MMAP_FILE -- cgit v1.1