Building a webview app from the master branch results in macro redefinition errors from pyjniusjni.c. The source code clearly shows the duplicates:
#define LOGI(...) do {} while (0)
#define LOGE(...) do {} while (0)
#include "android/log.h"
/* These JNI management functions are taken from SDL2, but modified to refer to pyjnius */
/* #define LOG(n, x) __android_log_write(ANDROID_LOG_INFO, (n), (x)) */
/* #define LOGP(x) LOG("python", (x)) */
#define LOG_TAG "Python_android"
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO,LOG_TAG,__VA_ARGS__)
#define LOGE(...) __android_log_print(ANDROID_LOG_ERROR,LOG_TAG,__VA_ARGS__)
Building a webview app from the master branch results in macro redefinition errors from pyjniusjni.c. The source code clearly shows the duplicates:
Is this intended? Does
android/log.hneed these macros to be no-ops? If so, what about using#undefbefore redefining them??