summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
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 */