t1 = clock() - t1;\r
time(&end);\r
unsigned long elapsed_time = difftime(end, start); \r
-\r
if ( t1 > 0 )\r
- printf("\nTime in checkkeys: %.0f ticks %u seconds\n", (float)t1, elapsed_time);\r
+ PrintAndLog("\nTime in checkkeys: %.0f ticks %u seconds\n", (float)t1, elapsed_time);\r
\r
+ \r
// 20160116 If Sector A is found, but not Sector B, try just reading it of the tag?\r
if ( keyType != 1 ) {\r
PrintAndLog("testing to read key B...");\r
#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