Workaround compiler optimization bug

This commit is contained in:
topjohnwu
2018-02-21 14:44:24 +08:00
parent 0afa601551
commit 9c6e64f47d
3 changed files with 5 additions and 2 deletions

View File

@ -55,6 +55,7 @@ extern char *argv0; /* For changing process name */
#define init_applet ((char *[]) { "magiskpolicy", "supolicy", NULL })
extern int (*applet_main[]) (int, char *[]), (*init_applet_main[]) (int, char *[]);
extern char socket_name[]; /* Workaround compiler bug pre NDK r13 */
int create_links(const char *bin, const char *path);