[host] ask for unicode with mingw-w64 makefile

Pass -DUNICODE as a CFLAG.  The visual studio project asks for
a unicode (wide-string) build, but the unix makefile did not.

This fixes the build on msys2.
This commit is contained in:
commander kotori 2018-05-25 09:52:11 +00:00 committed by Geoffrey McRae
parent 882b31aeaa
commit 80581a4aa2

View file

@ -6,7 +6,7 @@ CFLAGS += -ffast-math
CFLAGS += -fdata-sections -ffunction-sections
CFLAGS += -I../ -I.
LDFLAGS += -Wl,--gc-sections -mwindows
CFLAGS += -DWINVER=0x0602
CFLAGS += -DWINVER=0x0602 -DUNICODE
PREFIX ?= x86_64-w64-mingw32-
STRIP = $(PREFIX)strip