mirror of
https://github.com/libretro/mgba.git
synced 2024-11-23 07:59:46 +00:00
Libretro: Some compatibility fixes
This commit is contained in:
parent
7e243ee2ae
commit
5b7917b6cc
@ -107,7 +107,7 @@ else ifeq ($(platform), osx)
|
||||
DEFINES += -D__POWERPC__ -D__PPC__ -DMSB_FIRST
|
||||
endif
|
||||
DEFINES += -DHAVE_LOCALE
|
||||
DEFINES += -std=c99
|
||||
DEFINES += -std=gnu99
|
||||
|
||||
# iOS
|
||||
else ifneq (,$(findstring ios,$(platform)))
|
||||
|
@ -2,7 +2,7 @@
|
||||
RETRODEFS ?= -D__LIBRETRO__ -DMINIMAL_CORE=2 -DM_CORE_GBA -DM_CORE_GB
|
||||
|
||||
INCLUDES += -I$(CORE_DIR)/src -I$(CORE_DIR)/src/arm -I$(CORE_DIR)/include
|
||||
RETRODEFS += -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DINLINE=inline -DCOLOR_16_BIT -DCOLOR_5_6_5 -DRESAMPLE_LIBRARY=2 -DM_PI=3.14159265358979323846 -DPATH_MAX=4096 -DSSIZE_MAX=32767
|
||||
RETRODEFS += -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DINLINE=inline -DCOLOR_16_BIT -DCOLOR_5_6_5 -DRESAMPLE_LIBRARY=2 -DM_PI=3.14159265358979323846 -DPATH_MAX=4096 -DSSIZE_MAX=2147483648
|
||||
|
||||
ifneq ($(DEBUG), 1)
|
||||
RETRODEFS += -DNDEBUG
|
||||
@ -15,10 +15,12 @@ endif
|
||||
ifeq (,$(findstring win,$(platform)))
|
||||
ifeq (,$(findstring mingw,$(platform)))
|
||||
ifneq ($(platform), vita)
|
||||
ifneq ($(platform), ps3)
|
||||
RETRODEFS += -DHAVE_LOCALTIME_R
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
SOURCES_C := $(CORE_DIR)/src/arm/arm.c \
|
||||
$(CORE_DIR)/src/arm/decoder.c \
|
||||
|
Loading…
Reference in New Issue
Block a user