From: marshmellow42 Date: Tue, 31 Jan 2017 04:13:22 +0000 (-0500) Subject: flag needed for some compile environments X-Git-Tag: v3.0.0~72^2~4 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/103c60ec7e4398c4711e5cd0dba71520b8b0f919 flag needed for some compile environments used for 'z' and 'l' in printf commands. --- 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