summaryrefslogtreecommitdiff
path: root/jni
diff options
context:
space:
mode:
authoraliaspider2014-12-10 12:29:19 +0100
committeraliaspider2014-12-10 12:29:19 +0100
commit6d7fd87e07f157237319b51a8e0583ce0a4a5e6d (patch)
treee9382c5c647f64e1473117101f4bddf1e708148d /jni
parent41484cd73c4114228c12f6456f61cc5caa72fecf (diff)
downloadpicogpsp-6d7fd87e07f157237319b51a8e0583ce0a4a5e6d.tar.gz
picogpsp-6d7fd87e07f157237319b51a8e0583ce0a4a5e6d.tar.bz2
picogpsp-6d7fd87e07f157237319b51a8e0583ce0a4a5e6d.zip
add a HAVE_MMAP check, cleanups.
Diffstat (limited to 'jni')
-rw-r--r--jni/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/jni/Android.mk b/jni/Android.mk
index e25956b..4755db9 100644
--- a/jni/Android.mk
+++ b/jni/Android.mk
@@ -27,6 +27,6 @@ CPU_ARCH := arm
include $(CORE_DIR)/Makefile.common
LOCAL_SRC_FILES := $(SOURCES_C) $(SOURCES_ASM)
-LOCAL_CFLAGS += -O2 -DARM_ARCH -DNDEBUG -DINLINE=inline -D__LIBRETRO__ -DFRONTEND_SUPPORTS_RGB565 $(INCFLAGS)
+LOCAL_CFLAGS += -O2 -DHAVE_MMAP -DARM_ARCH -DNDEBUG -DINLINE=inline -D__LIBRETRO__ -DFRONTEND_SUPPORTS_RGB565 $(INCFLAGS)
include $(BUILD_SHARED_LIBRARY)