Merge "Use __ANDROID__ instead of HAVE_ANDROID_OS."
diff --git a/luni/src/main/native/java_lang_System.cpp b/luni/src/main/native/java_lang_System.cpp
index 306adab..a552cfd 100644
--- a/luni/src/main/native/java_lang_System.cpp
+++ b/luni/src/main/native/java_lang_System.cpp
@@ -34,7 +34,7 @@
#include <time.h>
#include <unistd.h>
-#if defined(HAVE_ANDROID_OS)
+#if defined(__ANDROID__)
extern "C" void android_get_LD_LIBRARY_PATH(char*, size_t);
#endif
@@ -91,7 +91,7 @@
#endif
const char* library_path = getenv("LD_LIBRARY_PATH");
-#if defined(HAVE_ANDROID_OS)
+#if defined(__ANDROID__)
if (library_path == NULL) {
android_get_LD_LIBRARY_PATH(path, sizeof(path));
library_path = path;