Buildfixes

This commit is contained in:
twinaphex 2015-09-18 06:41:05 +02:00
parent 0d6b32b495
commit e25f3494ba
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ LOCAL_MODULE := retroarch-jni
RARCH_DIR := ../../..
LOCAL_CFLAGS += -std=gnu99 -Wall -DRARCH_DUMMY_LOG -DHAVE_ZLIB -DHAVE_MMAP -DRARCH_INTERNAL
LOCAL_LDLIBS := -llog -lz
LOCAL_SRC_FILES := apk-extract/apk-extract.c $(RARCH_DIR)/libretro-common/file/file_extract.c $(RARCH_DIR)/libretro-common/file/file_path.c $(RARCH_DIR)/file_ops.c $(RARCH_DIR)/libretro-common/string/string_list.c $(RARCH_DIR)/libretro-common/compat/compat.c
LOCAL_SRC_FILES := apk-extract/apk-extract.c $(RARCH_DIR)/libretro-common/file/file_extract.c $(RARCH_DIR)/libretro-common/file/file_path.c $(RARCH_DIR)/file_ops.c $(RARCH_DIR)/libretro-common/string/string_list.c $(RARCH_DIR)/libretro-common/compat/compat.c $(RARCH_DIR)/libretro-common/file/retro_file.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(RARCH_DIR)/libretro-common/include/

View File

@ -76,6 +76,7 @@ RFILE *retro_fopen(const char *path, unsigned mode, ssize_t len)
(void)mode_str;
(void)mode_int;
(void)flags;
switch (mode)
{
@ -162,7 +163,6 @@ ssize_t retro_fseek(RFILE *stream, ssize_t offset, int whence)
ssize_t retro_ftell(RFILE *stream)
{
int ret = 0;
if (!stream)
return -1;
#if defined(VITA) || defined(PSP)