Fix build on some Windows machines using non-Latin locales. Fixes #165

This commit is contained in:
Lior Halphon 2019-05-04 15:35:17 +03:00 committed by GitHub
parent 9e44306c04
commit 2a0e5f667b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ ifneq ($(findstring MSYS,$(PLATFORM)),)
PLATFORM := windows32
endif
ifeq ($(PLATFORM),windows32)
_ := $(shell chcp 65001)
endif
ifeq ($(PLATFORM),Darwin)
DEFAULT := cocoa
else