Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Unified Diff: src/platform-posix.h

Issue 21022003: Revert new OS and CC detection and related changes since r15923. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform-linux.cc ('k') | src/platform-posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « src/platform-linux.cc ('k') | src/platform-posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698