Skip to content

Commit

Permalink
Define USE_FILE32API to try and fix minizip compilation under Android
Browse files Browse the repository at this point in the history
  • Loading branch information
fabrice-martinez committed Apr 21, 2021
1 parent 8162e5e commit 972e8b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ else
CXXFLAGS += -Ofast -DNDEBUG
endif

CFLAGS += -DHAVE_COMPRESSION -DHAVE_ZLIB -D_7ZIP_ST -DHAVE_FLAC
CFLAGS += -DUSE_FILE32API -DHAVE_ZLIB -D_7ZIP_ST -DHAVE_FLAC
CXXFLAGS += -std=c++11 -fno-exceptions -fno-rtti

include Makefile.common
Expand Down
2 changes: 1 addition & 1 deletion jni/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ CORE_DIR := $(LOCAL_PATH)/..
include $(CORE_DIR)/Makefile.common

COREFLAGS := -DINLINE=inline -D__LIBRETRO__
COREFLAGS += -DHAVE_CHD -DHAVE_COMPRESSION -DHAVE_ZLIB -D_7ZIP_ST
COREFLAGS += -DHAVE_CHD -DUSE_FILE32API -DHAVE_ZLIB -D_7ZIP_ST
COREFLAGS += -DHAVE_FLAC -DFLAC__HAS_OGG=0 -DFLAC_API_EXPORTS -DFLAC__NO_DLL
COREFLAGS += -DHAVE_LROUND -DHAVE_STDINT_H -DHAVE_STDLIB_H -DHAVE_SYS_PARAM_H

Expand Down

0 comments on commit 972e8b5

Please sign in to comment.