mirror of https://git.sr.ht/~rabbits/uxn
android: fix to build updated sources
This commit is contained in:
parent
6a770dcd5a
commit
fa569a6e1e
|
@ -11,6 +11,7 @@ LOCAL_SRC_FILES := \
|
||||||
$(UXN_DIR)/src/uxnemu.c \
|
$(UXN_DIR)/src/uxnemu.c \
|
||||||
$(UXN_DIR)/src/devices/audio.c \
|
$(UXN_DIR)/src/devices/audio.c \
|
||||||
$(UXN_DIR)/src/devices/controller.c \
|
$(UXN_DIR)/src/devices/controller.c \
|
||||||
|
$(UXN_DIR)/src/devices/datetime.c \
|
||||||
$(UXN_DIR)/src/devices/file.c \
|
$(UXN_DIR)/src/devices/file.c \
|
||||||
$(UXN_DIR)/src/devices/mouse.c \
|
$(UXN_DIR)/src/devices/mouse.c \
|
||||||
$(UXN_DIR)/src/devices/screen.c \
|
$(UXN_DIR)/src/devices/screen.c \
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
../../../../../../bin/boot.rom
|
|
|
@ -6,11 +6,7 @@
|
||||||
|
|
||||||
#ifdef __ANDROID__
|
#ifdef __ANDROID__
|
||||||
#include <android/log.h>
|
#include <android/log.h>
|
||||||
#undef stdout
|
#define fprintf(f, ...) __android_log_print(ANDROID_LOG_VERBOSE, "Uxn", __VA_ARGS__)
|
||||||
#undef stderr
|
|
||||||
#define stdout ANDROID_LOG_VERBOSE
|
|
||||||
#define stderr ANDROID_LOG_VERBOSE
|
|
||||||
#define fprintf(f, ...) __android_log_print(f, "Uxn", __VA_ARGS__)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
|
|
Loading…
Reference in New Issue