mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-10 21:05:12 +01:00
MSVC doesn't have sys/param.h either
This commit is contained in:
parent
fa7de1bf38
commit
3f6bf70fba
@ -2,6 +2,7 @@ DEBUG = 0
|
||||
LOGSOUND = 0
|
||||
FRONTEND_SUPPORTS_RGB565 = 1
|
||||
HAVE_CHD = 1
|
||||
HAVE_SYS_PARAM = 1
|
||||
|
||||
CORE_DIR := .
|
||||
|
||||
@ -139,6 +140,7 @@ else ifneq (,$(filter $(platform), ps3 sncps3 psl1ght))
|
||||
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
|
||||
STATIC_LINKING = 1
|
||||
HAVE_SYS_PARAM = 0
|
||||
|
||||
# sncps3
|
||||
ifneq (,$(findstring sncps3,$(platform)))
|
||||
@ -242,6 +244,8 @@ else ifeq ($(platform), windows_msvc2010_x64)
|
||||
CC = cl.exe
|
||||
CXX = cl.exe
|
||||
|
||||
HAVE_SYS_PARAM = 0
|
||||
|
||||
PATH := $(shell IFS=$$'\n'; cygpath "$(VS100COMNTOOLS)../../VC/bin/amd64"):$(PATH)
|
||||
PATH := $(PATH):$(shell IFS=$$'\n'; cygpath "$(VS100COMNTOOLS)../IDE")
|
||||
LIB := $(shell IFS=$$'\n'; cygpath "$(VS100COMNTOOLS)../../VC/lib/amd64")
|
||||
@ -266,6 +270,8 @@ else ifeq ($(platform), windows_msvc2010_x86)
|
||||
CC = cl.exe
|
||||
CXX = cl.exe
|
||||
|
||||
HAVE_SYS_PARAM = 0
|
||||
|
||||
PATH := $(shell IFS=$$'\n'; cygpath "$(VS100COMNTOOLS)../../VC/bin"):$(PATH)
|
||||
PATH := $(PATH):$(shell IFS=$$'\n'; cygpath "$(VS100COMNTOOLS)../IDE")
|
||||
LIB := $(shell IFS=$$'\n'; cygpath -w "$(VS100COMNTOOLS)../../VC/lib")
|
||||
@ -290,6 +296,8 @@ else ifeq ($(platform), windows_msvc2005_x86)
|
||||
CC = cl.exe
|
||||
CXX = cl.exe
|
||||
|
||||
HAVE_SYS_PARAM = 0
|
||||
|
||||
PATH := $(shell IFS=$$'\n'; cygpath "$(VS80COMNTOOLS)../../VC/bin"):$(PATH)
|
||||
PATH := $(PATH):$(shell IFS=$$'\n'; cygpath "$(VS80COMNTOOLS)../IDE")
|
||||
INCLUDE := $(shell IFS=$$'\n'; cygpath "$(VS80COMNTOOLS)../../VC/include")
|
||||
@ -349,7 +357,7 @@ ifeq ($(HAVE_CHD), 1)
|
||||
endif
|
||||
|
||||
|
||||
ifeq (,$(filter $(platform), ps3 sncps3 psl1ght))
|
||||
ifeq ($(HAVE_SYS_PARAM), 1)
|
||||
DEFINES += -DHAVE_SYS_PARAM_H
|
||||
else
|
||||
DEFINES += -Dflac_max=MAX -Dflac_min=MIN -Dfseeko=fseek -Dftello=ftell
|
||||
|
Loading…
Reference in New Issue
Block a user