aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorShih-wei Liao <sliao@google.com>2012-05-10 08:25:54 -0700
committerShih-wei Liao <sliao@google.com>2012-05-10 08:25:54 -0700
commitad37058add808519aaa29290480a11082dd1a978 (patch)
tree2445213c2508a21efb73f83e6d081828a60a23be /host
parentb1b06417a6534ce8b6c9c20f39a0aaecaa8a6891 (diff)
downloadexternal_llvm-ad37058add808519aaa29290480a11082dd1a978.zip
external_llvm-ad37058add808519aaa29290480a11082dd1a978.tar.gz
external_llvm-ad37058add808519aaa29290480a11082dd1a978.tar.bz2
Fix Mac (APPLE) build.
Change-Id: Icdb09933e1065985b6341fde770d5ddc7895d789
Diffstat (limited to 'host')
-rw-r--r--host/include/llvm/Config/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/include/llvm/Config/config.h b/host/include/llvm/Config/config.h
index defd64b..456bf9a 100644
--- a/host/include/llvm/Config/config.h
+++ b/host/include/llvm/Config/config.h
@@ -230,7 +230,7 @@
/* #undef HAVE_MACH_O_DYLD_H */
/* Define if mallinfo() is available on this platform. */
-#if !defined(_APPLE_)
+#if !defined(__APPLE__)
#define HAVE_MALLINFO 1
#else
/* #undef HAVE_MALLINFO */
@@ -268,7 +268,7 @@
/* Define if mmap() uses MAP_ANONYMOUS to map anonymous pages, or undefine if
it uses MAP_ANON */
-#if !defined(_APPLE_)
+#if !defined(__APPLE__)
#define HAVE_MMAP_ANONYMOUS
#else
/* #undef HAVE_MMAP_ANONYMOUS */