]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
flag needed for some compile environments
authormarshmellow42 <marshmellowrf@gmail.com>
Tue, 31 Jan 2017 04:13:22 +0000 (23:13 -0500)
committermarshmellow42 <marshmellowrf@gmail.com>
Tue, 31 Jan 2017 04:13:22 +0000 (23:13 -0500)
used for 'z' and 'l' in printf commands.

client/Makefile

index 8dd8ddef513ce3657e57bd228ef9e238139cc594..5aa86148ff9353ea6e1dcf721b3566a2615e5239 100644 (file)
@@ -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)))
 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
     CXXFLAGS = -I$(QTDIR)/include -I$(QTDIR)/include/QtCore -I$(QTDIR)/include/QtGui
     MOC = $(QTDIR)/bin/moc
     LUAPLATFORM = mingw
Impressum, Datenschutz