Define HAVE_SYS_PARAM_H for everything except PS3

This commit is contained in:
twinaphex 2017-09-06 00:15:05 +02:00
parent 5500376fc3
commit f8233c6c30

View File

@ -348,6 +348,13 @@ ifeq ($(HAVE_CHD), 1)
DEFINES += -DUSE_LIBCHDR -DPACKAGE_VERSION=\"1.3.2\" -DFLAC_API_EXPORTS -DFLAC__HAS_OGG=0 -DHAVE_LROUND -DHAVE_STDINT_H -D_7ZIP_ST
endif
ifeq (,$(filter $(platform), ps3 sncps3 psl1ght))
DEFINES += -DHAVE_SYS_PARAM_H
else
DEFINES += -Dflac_max=MAX -Dflac_min=MIN -Dfseeko=fseek -Dftello=ftell
endif
CFLAGS += $(fpic) $(DEFINES) $(CODE_DEFINES) $(FLAGS)
ifeq ($(FRONTEND_SUPPORTS_RGB565), 1)