[llvm-commits] [compiler-rt] r163313 - /compiler-rt/trunk/lib/asan/tests/asan_test.cc
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Thu Sep 6 05:50:28 PDT 2012
Author: eugenis
Date: Thu Sep 6 07:50:28 2012
New Revision: 163313
URL: http://llvm.org/viewvc/llvm-project?rev=163313&view=rev
Log:
[asan] Use __ANDROID__ guard in asan_test.
Modified:
compiler-rt/trunk/lib/asan/tests/asan_test.cc
Modified: compiler-rt/trunk/lib/asan/tests/asan_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_test.cc?rev=163313&r1=163312&r2=163313&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_test.cc (original)
+++ compiler-rt/trunk/lib/asan/tests/asan_test.cc Thu Sep 6 07:50:28 2012
@@ -162,7 +162,7 @@
*c = 0;
delete c;
-#if !defined(__APPLE__) && !defined(ANDROID)
+#if !defined(__APPLE__) && !defined(ANDROID) && !defined(__ANDROID__)
// fprintf(stderr, "posix_memalign\n");
int *pm;
int pm_res = posix_memalign((void**)&pm, kPageSize, kPageSize);
More information about the llvm-commits
mailing list