Add Windows retro_common_api fix (#300)

This commit is contained in:
Rob Loach 2018-09-08 10:25:50 -04:00 committed by GitHub
parent 6d496b0ee4
commit 9527c3700b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -1,8 +1,3 @@
# Appveyor Config
ifeq ($(appveyor),1)
FLAGS += -DPRId64=I64d -DPRIu64=I64u -DPRIuPTR=Iu
endif
# ChaiLove
SOURCES_CXX := $(wildcard \
$(CORE_DIR)/src/*.cpp \
@ -209,3 +204,8 @@ OBJECTS += $(SOURCES_CXX:.cpp=.o) $(SOURCES_C:.c=.o) $(SOURCES_M:.m=.o)
LDFLAGS += $(fpic) $(SHARED) $(EXTRA_LDF)
WARNINGS :=
# Windows: Fix retro_common_api.h
ifeq ($(system_platform), win)
FLAGS += -DPRId64=I64d -DPRIu64=I64u -DPRIuPTR=Iu
endif

View File

@ -35,7 +35,7 @@ before_build:
- gcc --version
build_script:
- make appveyor=1
- make appveyor=1 system_platform=win
# TODO: Add automated testing
#before_test: