mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
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:
@@ -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__);
|
||||
|
||||
Reference in New Issue
Block a user