| Index: src/platform-posix.cc
|
| ===================================================================
|
| --- src/platform-posix.cc (revision 9637)
|
| +++ src/platform-posix.cc (working copy)
|
| @@ -48,7 +48,7 @@
|
|
|
| #if defined(ANDROID)
|
| #define LOG_TAG "v8"
|
| -#include <utils/Log.h> // LOG_PRI_VA
|
| +#include <android/log.h>
|
| #endif
|
|
|
| #include "v8.h"
|
| @@ -182,7 +182,7 @@
|
|
|
| void OS::VPrint(const char* format, va_list args) {
|
| #if defined(ANDROID) && !defined(V8_ANDROID_LOG_STDOUT)
|
| - LOG_PRI_VA(ANDROID_LOG_INFO, LOG_TAG, format, args);
|
| + __android_log_vprint(ANDROID_LOG_INFO, LOG_TAG, format, args);
|
| #else
|
| vprintf(format, args);
|
| #endif
|
| @@ -199,7 +199,7 @@
|
|
|
| void OS::VFPrint(FILE* out, const char* format, va_list args) {
|
| #if defined(ANDROID) && !defined(V8_ANDROID_LOG_STDOUT)
|
| - LOG_PRI_VA(ANDROID_LOG_INFO, LOG_TAG, format, args);
|
| + __android_log_vprint(ANDROID_LOG_INFO, LOG_TAG, format, args);
|
| #else
|
| vfprintf(out, format, args);
|
| #endif
|
| @@ -216,7 +216,7 @@
|
|
|
| void OS::VPrintError(const char* format, va_list args) {
|
| #if defined(ANDROID) && !defined(V8_ANDROID_LOG_STDOUT)
|
| - LOG_PRI_VA(ANDROID_LOG_ERROR, LOG_TAG, format, args);
|
| + __android_log_vprint(ANDROID_LOG_ERROR, LOG_TAG, format, args);
|
| #else
|
| vfprintf(stderr, format, args);
|
| #endif
|
|
|