Try to fix inline on msvc

This commit is contained in:
meepingsnesroms
2018-11-06 19:52:31 -08:00
parent 17b09f3708
commit 333c4db35f
4 changed files with 192 additions and 191 deletions

View File

@@ -15,8 +15,9 @@ ifneq (,$(findstring msvc200,$(platform)))
endif
ifneq (,$(findstring msvc20,$(platform)))
#Mu is dependent on stdbool.h existing
#Mu is dependent on stdbool.h and the standard inline directive existing
INCFLAGS += -I$(CORE_DIR)/fixIncludes/stdbool
COREDEFINES += -Dinline=__inline -DINLINE=__inline
endif
include $(EMU_PATH)/makefile.all

View File

@@ -4,7 +4,7 @@ CORE_DIR := $(LOCAL_PATH)/..
include $(CORE_DIR)/build/Makefile.common
COREFLAGS := -funroll-loops -D__LIBRETRO__ -DFRONTEND_SUPPORTS_RGB565 $(INCFLAGS) $(COREDEFINES)
COREFLAGS := -funroll-loops -D__LIBRETRO__ -DINLINE=inline -DFRONTEND_SUPPORTS_RGB565 $(INCFLAGS) $(COREDEFINES)
GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
ifneq ($(GIT_VERSION)," unknown")