Index: src/platform-posix.h |
diff --git a/src/platform-posix.h b/src/platform-posix.h |
index 510a6f1a90d9fbd1380de416b1a9fc352a52256d..6b73387cd790d3bad65d0cd16b3832bc33d6c2f3 100644 |
--- a/src/platform-posix.h |
+++ b/src/platform-posix.h |
@@ -28,13 +28,13 @@ |
#ifndef V8_PLATFORM_POSIX_H_ |
#define V8_PLATFORM_POSIX_H_ |
-#include "platform.h" |
- |
-#if !V8_OS_ANDROID |
+#if !defined(ANDROID) |
#include <cxxabi.h> |
#endif |
#include <stdio.h> |
+#include "platform.h" |
+ |
namespace v8 { |
namespace internal { |
@@ -58,7 +58,7 @@ struct POSIXBacktraceHelper { |
char mangled[201]; |
if (sscanf(symbols[i], "%*[^(]%*[(]%200[^)+]", mangled) == 1) {// NOLINT |
char* demangled = NULL; |
-#if !V8_OS_ANDROID |
+#if !defined(ANDROID) |
int status; |
size_t length; |
demangled = abi::__cxa_demangle(mangled, NULL, &length, &status); |