commit | c60e1b755c5632dfeb04c333489ede52ee5c945f | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Thu Jul 30 08:57:50 2015 -0700 |
committer | Andreas Gampe <agampe@google.com> | Thu Jul 30 08:57:50 2015 -0700 |
tree | 9582a0ffc99e4ad11dcd5d95dd97b09bc6acc5bf | |
parent | 7b926cdacc2b67241bc9cb5f2d4b04b13ca79d0e [diff] [blame] |
ART: Use __ANDROID__ instead of HAVE_ANDROID_OS Use the proper define. Change-Id: I71e291ac25f5d5f0187ac9b6ef2d6872f19e6085
diff --git a/runtime/mem_map.cc b/runtime/mem_map.cc index 8df8f96..d9ad7dc 100644 --- a/runtime/mem_map.cc +++ b/runtime/mem_map.cc
@@ -280,7 +280,7 @@ ScopedFd fd(-1); #ifdef USE_ASHMEM -#ifdef HAVE_ANDROID_OS +#ifdef __ANDROID__ const bool use_ashmem = true; #else // When not on Android ashmem is faked using files in /tmp. Ensure that such files won't