summaryrefslogtreecommitdiff
path: root/runtime/base/logging.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2016-11-29 15:06:15 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-11-29 15:06:15 +0000
commitded461e9df57a9e36e82f665d9600f9ea588dd87 (patch)
treea1d664b5bd0083abd2364b914e686d1ec40d5605 /runtime/base/logging.cc
parentd34d4f303bff900249cce15ff5e4a3844f71546b (diff)
parent1af0c4ff8b79ad44a4e12d7271a66d4e775ba224 (diff)
Merge "Fix the target Linux builds of ART"
Diffstat (limited to 'runtime/base/logging.cc')
-rw-r--r--runtime/base/logging.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/base/logging.cc b/runtime/base/logging.cc
index 6b21a566ee..1dca4286da 100644
--- a/runtime/base/logging.cc
+++ b/runtime/base/logging.cc
@@ -80,7 +80,7 @@ void InitLogging(char* argv[], AbortFunction& abort_function) {
gCmdLine.reset(new std::string("<unset>"));
}
-#ifdef __ANDROID__
+#ifdef ART_TARGET_ANDROID
#define INIT_LOGGING_DEFAULT_LOGGER android::base::LogdLogger()
#else
#define INIT_LOGGING_DEFAULT_LOGGER android::base::StderrLogger