diff options
| author | Alexey Samsonov <samsonov@google.com> | 2013-04-03 07:24:35 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2013-04-03 07:24:35 +0000 |
| commit | a0e28a7aaa6efca0600bcd841195550b6a85f136 (patch) | |
| tree | ea97d67b2ae2e586763b8ba11ec081b91f84f630 /compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc | |
| parent | 5188e6b295db6afd50a15355d7c4154304a5f1d1 (diff) | |
| download | bcm5719-llvm-a0e28a7aaa6efca0600bcd841195550b6a85f136.tar.gz bcm5719-llvm-a0e28a7aaa6efca0600bcd841195550b6a85f136.zip | |
[Sanitizer] Kill the remainders of platform defines in favor of SANITIZER_ defines
llvm-svn: 178627
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc b/compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc index c5c2ef552f0..a97a70937a4 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc @@ -20,11 +20,11 @@ extern "C" void *__libc_malloc(__sanitizer::uptr size); extern "C" void __libc_free(void *ptr); # define LIBC_MALLOC __libc_malloc # define LIBC_FREE __libc_free -#else // __linux__ && !ANDROID +#else // SANITIZER_LINUX && !SANITIZER_ANDROID # include <stdlib.h> # define LIBC_MALLOC malloc # define LIBC_FREE free -#endif // __linux__ && !ANDROID +#endif // SANITIZER_LINUX && !SANITIZER_ANDROID namespace __sanitizer { |

