mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
FIX: fixes warning for "%zu" string formatspecifier on MINGW systems. (Thanks to @marshmellow42 for this one)
This commit is contained in:
parent
1cec48cc0e
commit
71aa1ff824
2 changed files with 4 additions and 2 deletions
|
@ -19,7 +19,7 @@ LUAPLATFORM = generic
|
||||||
|
|
||||||
ifneq (,$(findstring MINGW,$(platform)))
|
ifneq (,$(findstring MINGW,$(platform)))
|
||||||
LDLIBS += -L/mingw/lib -lgdi32
|
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
|
CXXFLAGS = -I$(QTDIR)/include -I$(QTDIR)/include/QtCore -I$(QTDIR)/include/QtGui
|
||||||
MOC = $(QTDIR)/bin/moc
|
MOC = $(QTDIR)/bin/moc
|
||||||
LUAPLATFORM = mingw
|
LUAPLATFORM = mingw
|
||||||
|
|
|
@ -15,7 +15,9 @@
|
||||||
// Handle platform specific includes
|
// Handle platform specific includes
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
// for MINGW32 environments
|
// for MINGW32 environments
|
||||||
|
#ifndef _USE_32BIT_TIME_T
|
||||||
#define _USE_32BIT_TIME_T 1
|
#define _USE_32BIT_TIME_T 1
|
||||||
|
#endif
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue