From 103c60ec7e4398c4711e5cd0dba71520b8b0f919 Mon Sep 17 00:00:00 2001 From: marshmellow42 Date: Mon, 30 Jan 2017 23:13:22 -0500 Subject: [PATCH] flag needed for some compile environments used for 'z' and 'l' in printf commands. --- client/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/client/Makefile b/client/Makefile index 8dd8ddef..5aa86148 100644 --- a/client/Makefile +++ b/client/Makefile @@ -19,6 +19,7 @@ CFLAGS = -std=c99 -I. -I../include -I../common -I../zlib -I/opt/local/include -I LUAPLATFORM = generic ifneq (,$(findstring MINGW,$(platform))) + CFLAGS += -D__USE_MINGW_ANSI_STDIO=1 CXXFLAGS = -I$(QTDIR)/include -I$(QTDIR)/include/QtCore -I$(QTDIR)/include/QtGui MOC = $(QTDIR)/bin/moc LUAPLATFORM = mingw -- 2.39.2