Chromium Code Reviews| Index: base/process_util_linux.cc |
| diff --git a/base/process_util_linux.cc b/base/process_util_linux.cc |
| index 2c2824fd77db68da521883918bc88b580e99caa2..2bed9453befe7e5775dae8df685bf9450a0bc4bb 100644 |
| --- a/base/process_util_linux.cc |
| +++ b/base/process_util_linux.cc |
| @@ -745,7 +745,7 @@ void OnNoMemory() { |
| } // namespace |
| -#if !defined(OS_ANDROID) && !defined(USE_TCMALLOC) && \ |
| +#if defined(GLIBC) && !defined(USE_TCMALLOC) && \ |
|
agl
2013/05/20 15:18:22
It's not clear that we don't actually want this ma
Mostyn Bramley-Moore
2013/05/20 20:41:41
I downloaded android-ndk-r8e and inspected platfor
|
| !defined(ADDRESS_SANITIZER) && !defined(MEMORY_SANITIZER) && \ |
| !defined(THREAD_SANITIZER) |
| @@ -826,7 +826,7 @@ int posix_memalign(void** ptr, size_t alignment, size_t size) { |
| } |
| } // extern C |
| -#endif // ANDROID, TCMALLOC, *_SANITIZER |
| +#endif // GLIBC, !TCMALLOC, !*_SANITIZER |
| void EnableTerminationOnHeapCorruption() { |
| // On Linux, there nothing to do AFAIK. |