FIX: fixes warning for "%zu" string formatspecifier on MINGW systems. (Thanks to @marshmellow42 for this one)

This commit is contained in:
iceman1001
2017-01-31 05:33:24 +01:00
parent 1cec48cc0e
commit 71aa1ff824
2 changed files with 4 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ LUAPLATFORM = generic
ifneq (,$(findstring MINGW,$(platform)))
LDLIBS += -L/mingw/lib -lgdi32
CFLAGS += -I/mingw/include
CFLAGS += -I/mingw/include -D__USE_MINGW_ANSI_STDIO=1
CXXFLAGS = -I$(QTDIR)/include -I$(QTDIR)/include/QtCore -I$(QTDIR)/include/QtGui
MOC = $(QTDIR)/bin/moc
LUAPLATFORM = mingw