FIX: time printing, like difftime in MINGW enviroments needs to use 32b time.

This commit is contained in:
iceman1001 2016-04-23 13:02:20 +02:00
commit be6e909c5b
5 changed files with 8 additions and 4 deletions

View file

@ -12,6 +12,10 @@
#ifndef PROXMARK3_H__
#define PROXMARK3_H__
#ifdef __WIN32
// for MINGW32 environments
#define _USE_32BIT_TIME_T 1
#endif
#define __STDC_FORMAT_MACROS 1
#include <inttypes.h>
#define lx PRIx32