Compile android_native_app_glue.c as C

* It doesn't compile as C++ in latest compilers so we can't include it in-line
  in the C++ source
This commit is contained in:
baldurk
2021-03-23 12:56:41 +00:00
parent 911d290948
commit 79e42bc365
2 changed files with 2 additions and 5 deletions
-4
View File
@@ -33,10 +33,6 @@
#include <string>
#include <android_native_app_glue.h>
#define ANativeActivity_onCreate __attribute__((visibility("default"))) ANativeActivity_onCreate
extern "C" {
#include <android_native_app_glue.c>
}
#include <android/log.h>
#define ANDROID_LOG(...) __android_log_print(ANDROID_LOG_INFO, "renderdoccmd", __VA_ARGS__);