mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2025-01-13 19:59:07 +01:00
Fix build
This commit is contained in:
parent
da80349f9c
commit
a7e94e3870
@ -2,6 +2,7 @@ DEBUG = 0
|
|||||||
LOGSOUND = 0
|
LOGSOUND = 0
|
||||||
FRONTEND_SUPPORTS_RGB565 = 1
|
FRONTEND_SUPPORTS_RGB565 = 1
|
||||||
HAVE_CHD = 1
|
HAVE_CHD = 1
|
||||||
|
HAVE_SYS_PARAM = 1
|
||||||
|
|
||||||
CORE_DIR := .
|
CORE_DIR := .
|
||||||
|
|
||||||
@ -139,6 +140,7 @@ else ifneq (,$(filter $(platform), ps3 sncps3 psl1ght))
|
|||||||
PLATFORM_DEFINES := -D__CELLOS_LV2 -DALT_RENDER
|
PLATFORM_DEFINES := -D__CELLOS_LV2 -DALT_RENDER
|
||||||
ENDIANNESS_DEFINES := -DBYTE_ORDER=BIG_ENDIAN -DBYTE_ORDER=BIG_ENDIAN -DCPU_IS_BIG_ENDIAN=1 -DWORDS_BIGENDIAN=1
|
ENDIANNESS_DEFINES := -DBYTE_ORDER=BIG_ENDIAN -DBYTE_ORDER=BIG_ENDIAN -DCPU_IS_BIG_ENDIAN=1 -DWORDS_BIGENDIAN=1
|
||||||
STATIC_LINKING = 1
|
STATIC_LINKING = 1
|
||||||
|
HAVE_SYS_PARAM = 0
|
||||||
|
|
||||||
# sncps3
|
# sncps3
|
||||||
ifneq (,$(findstring sncps3,$(platform)))
|
ifneq (,$(findstring sncps3,$(platform)))
|
||||||
@ -242,6 +244,8 @@ else ifeq ($(platform), windows_msvc2010_x64)
|
|||||||
CC = cl.exe
|
CC = cl.exe
|
||||||
CXX = cl.exe
|
CXX = cl.exe
|
||||||
|
|
||||||
|
HAVE_SYS_PARAM = 0
|
||||||
|
|
||||||
PATH := $(shell IFS=$$'\n'; cygpath "$(VS100COMNTOOLS)../../VC/bin/amd64"):$(PATH)
|
PATH := $(shell IFS=$$'\n'; cygpath "$(VS100COMNTOOLS)../../VC/bin/amd64"):$(PATH)
|
||||||
PATH := $(PATH):$(shell IFS=$$'\n'; cygpath "$(VS100COMNTOOLS)../IDE")
|
PATH := $(PATH):$(shell IFS=$$'\n'; cygpath "$(VS100COMNTOOLS)../IDE")
|
||||||
LIB := $(shell IFS=$$'\n'; cygpath "$(VS100COMNTOOLS)../../VC/lib/amd64")
|
LIB := $(shell IFS=$$'\n'; cygpath "$(VS100COMNTOOLS)../../VC/lib/amd64")
|
||||||
@ -266,6 +270,8 @@ else ifeq ($(platform), windows_msvc2010_x86)
|
|||||||
CC = cl.exe
|
CC = cl.exe
|
||||||
CXX = cl.exe
|
CXX = cl.exe
|
||||||
|
|
||||||
|
HAVE_SYS_PARAM = 0
|
||||||
|
|
||||||
PATH := $(shell IFS=$$'\n'; cygpath "$(VS100COMNTOOLS)../../VC/bin"):$(PATH)
|
PATH := $(shell IFS=$$'\n'; cygpath "$(VS100COMNTOOLS)../../VC/bin"):$(PATH)
|
||||||
PATH := $(PATH):$(shell IFS=$$'\n'; cygpath "$(VS100COMNTOOLS)../IDE")
|
PATH := $(PATH):$(shell IFS=$$'\n'; cygpath "$(VS100COMNTOOLS)../IDE")
|
||||||
LIB := $(shell IFS=$$'\n'; cygpath -w "$(VS100COMNTOOLS)../../VC/lib")
|
LIB := $(shell IFS=$$'\n'; cygpath -w "$(VS100COMNTOOLS)../../VC/lib")
|
||||||
@ -290,6 +296,8 @@ else ifeq ($(platform), windows_msvc2005_x86)
|
|||||||
CC = cl.exe
|
CC = cl.exe
|
||||||
CXX = cl.exe
|
CXX = cl.exe
|
||||||
|
|
||||||
|
HAVE_SYS_PARAM = 0
|
||||||
|
|
||||||
PATH := $(shell IFS=$$'\n'; cygpath "$(VS80COMNTOOLS)../../VC/bin"):$(PATH)
|
PATH := $(shell IFS=$$'\n'; cygpath "$(VS80COMNTOOLS)../../VC/bin"):$(PATH)
|
||||||
PATH := $(PATH):$(shell IFS=$$'\n'; cygpath "$(VS80COMNTOOLS)../IDE")
|
PATH := $(PATH):$(shell IFS=$$'\n'; cygpath "$(VS80COMNTOOLS)../IDE")
|
||||||
INCLUDE := $(shell IFS=$$'\n'; cygpath "$(VS80COMNTOOLS)../../VC/include")
|
INCLUDE := $(shell IFS=$$'\n'; cygpath "$(VS80COMNTOOLS)../../VC/include")
|
||||||
@ -349,7 +357,7 @@ ifeq ($(HAVE_CHD), 1)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
ifeq (,$(filter $(platform), ps3 sncps3 psl1ght))
|
ifeq ($(HAVE_SYS_PARAM), 1)
|
||||||
DEFINES += -DHAVE_SYS_PARAM_H
|
DEFINES += -DHAVE_SYS_PARAM_H
|
||||||
else
|
else
|
||||||
DEFINES += -Dflac_max=MAX -Dflac_min=MIN -Dfseeko=fseek -Dftello=ftell
|
DEFINES += -Dflac_max=MAX -Dflac_min=MIN -Dfseeko=fseek -Dftello=ftell
|
||||||
|
Loading…
x
Reference in New Issue
Block a user