summaryrefslogtreecommitdiff
path: root/runtime/gc/allocator/dlmalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/gc/allocator/dlmalloc.h')
-rw-r--r--runtime/gc/allocator/dlmalloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/gc/allocator/dlmalloc.h b/runtime/gc/allocator/dlmalloc.h
index 0e91a4372c..0558921a56 100644
--- a/runtime/gc/allocator/dlmalloc.h
+++ b/runtime/gc/allocator/dlmalloc.h
@@ -35,7 +35,7 @@
#include "../../bionic/libc/upstream-dlmalloc/malloc.h"
#pragma GCC diagnostic pop
-#ifdef HAVE_ANDROID_OS
+#ifdef __ANDROID__
// Define dlmalloc routines from bionic that cannot be included directly because of redefining
// symbols from the include above.
extern "C" void dlmalloc_inspect_all(void(*handler)(void*, void *, size_t, void*), void* arg);