X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/3ac59c7fed24cc69e2c9f626e5e4392769779e13..fa5118e7308c1beebf84f4a6664be7923a6bea04:/client/proxmark3.h?ds=inline

diff --git a/client/proxmark3.h b/client/proxmark3.h
index a634fd68..89cac878 100644
--- a/client/proxmark3.h
+++ b/client/proxmark3.h
@@ -12,10 +12,16 @@
 #ifndef PROXMARK3_H__
 #define PROXMARK3_H__
 
-#define __STDC_FORMAT_MACROS
+#ifdef __WIN32
+// for MINGW32 environments
+   #define _USE_32BIT_TIME_T 1
+#endif   
+#define __STDC_FORMAT_MACROS 1
 #include <inttypes.h>
+#define lx  PRIx32
 #define llx PRIx64
 #define lli PRIi64
+#define llu PRIu64
 #define hhu PRIu8
 
 #include "usb_cmd.h"