mirror of
https://github.com/libretro/Mu.git
synced 2026-09-23 15:15:43 +00:00
Try to fix inline on msvc
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user