Merge pull request #406 from leon-li/master

Fix compile error on android ndk r6
This commit is contained in:
minggo 2011-07-19 02:19:45 -07:00
commit 74113bda68
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@
#include <android/log.h> #include <android/log.h>
#include <jni.h> #include <jni.h>
#include <cstring>
#define LOG_TAG "CCApplication_android Debug" #define LOG_TAG "CCApplication_android Debug"
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__) #define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__)