]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/proxmark3.h
CHG: continue code cleanup.
[proxmark3-svn] / client / proxmark3.h
index d70170ddddd7cd483e39a041469ba939da8f3273..d8887197efbb4bc226bf237a05ad9a597b907bc5 100644 (file)
@@ -1,4 +1,5 @@
 //-----------------------------------------------------------------------------
+// Copyright (C) 2009 Michael Gernoth <michael at gernoth.net>
 // Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
 //
 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
@@ -7,10 +8,26 @@
 //-----------------------------------------------------------------------------
 // Main binary
 //-----------------------------------------------------------------------------
-
 #ifndef PROXMARK3_H__
 #define PROXMARK3_H__
 
-#define PROXPROMPT "proxmark3> "
-
+// Handle platform specific includes
+#ifdef _WIN32
+// for MINGW32 environments
+  #ifndef _USE_32BIT_TIME_T
+    #define _USE_32BIT_TIME_T 1
+  #endif  
+  #include <time.h>
+  #include <windows.h>
+#else
+  #include <sys/time.h>
 #endif
+
+#define __STDC_FORMAT_MACROS 1
+#include <inttypes.h>
+#include "usb_cmd.h"
+
+#define PROXPROMPT "pm3 --> "
+
+void SendCommand(UsbCommand *c);
+#endif
\ No newline at end of file
Impressum, Datenschutz