mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -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)))
|
||||
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
|
||||
|
|
|
@ -15,7 +15,9 @@
|
|||
// Handle platform specific includes
|
||||
#ifdef _WIN32
|
||||
// for MINGW32 environments
|
||||
#define _USE_32BIT_TIME_T 1
|
||||
#ifndef _USE_32BIT_TIME_T
|
||||
#define _USE_32BIT_TIME_T 1
|
||||
#endif
|
||||
#include <time.h>
|
||||
#include <windows.h>
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue