Fix compile issue when using NDK Unified Headers

This commit is contained in:
topjohnwu
2017-04-16 23:13:53 +08:00
parent bc66733289
commit 73802aabac
5 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
APP_ABI := x86 x86_64 armeabi-v7a arm64-v8a
APP_PLATFORM := android-21
APP_UNIFIED_HEADERS := true
APP_CPPFLAGS += -std=c++11

View File

@@ -23,6 +23,10 @@
#define LOG_TAG "Magisk"
#ifndef ARG_MAX
#define ARG_MAX 4096
#endif
// Global handler for PLOGE
extern __thread void (*err_handler)(void);

2
jni/su

Submodule jni/su updated: 85b080113f...b1d6ff60e0