remove C++ std limitation for linux and android

This commit is contained in:
ekibun
2020-08-26 23:38:16 +08:00
parent e0000ac2d6
commit ba35352b2a
22 changed files with 35 additions and 110 deletions

View File

@@ -28,6 +28,11 @@
#include <stdio.h>
#include <stdint.h>
#if defined(__ANDROID__)
#include <android/log.h>
#define printf(...) __android_log_print(ANDROID_LOG_INFO, "qjs", __VA_ARGS__)
#endif
#ifdef __cplusplus
extern "C" {
#endif