aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorShih-wei Liao <sliao@google.com>2012-05-09 18:19:51 -0700
committerShih-wei Liao <sliao@google.com>2012-05-09 18:19:51 -0700
commitcea6fb5f1c653e52528f26a8a77fc912b7ed012d (patch)
treeb01aef30617a30ebba55661957a0dc2350309992 /host
parented6e894345f2620a11041bb9a832a686988112e2 (diff)
downloadexternal_llvm-cea6fb5f1c653e52528f26a8a77fc912b7ed012d.zip
external_llvm-cea6fb5f1c653e52528f26a8a77fc912b7ed012d.tar.gz
external_llvm-cea6fb5f1c653e52528f26a8a77fc912b7ed012d.tar.bz2
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
Diffstat (limited to 'host')
-rw-r--r--host/include/llvm/Config/config.h2
1 files changed, 1 insertions, 1 deletions
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