commit | c60e1b755c5632dfeb04c333489ede52ee5c945f | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Thu Jul 30 08:57:50 2015 -0700 |
committer | Andreas Gampe <agampe@google.com> | Thu Jul 30 08:57:50 2015 -0700 |
tree | 9582a0ffc99e4ad11dcd5d95dd97b09bc6acc5bf | |
parent | 7b926cdacc2b67241bc9cb5f2d4b04b13ca79d0e [diff] [blame] |
ART: Use __ANDROID__ instead of HAVE_ANDROID_OS Use the proper define. Change-Id: I71e291ac25f5d5f0187ac9b6ef2d6872f19e6085
diff --git a/runtime/thread.cc b/runtime/thread.cc index 2b977af..b3efad0 100644 --- a/runtime/thread.cc +++ b/runtime/thread.cc
@@ -2139,7 +2139,7 @@ std::string str(ss.str()); // log to stderr for debugging command line processes std::cerr << str; -#ifdef HAVE_ANDROID_OS +#ifdef __ANDROID__ // log to logcat for debugging frameworks processes LOG(INFO) << str; #endif