X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/b403c300910c62cbacf95be213efdc6ed8ed85d1..f1202c3fa9eb6473c3921ca56d399dee76699650:/client/proxmark3.h?ds=inline diff --git a/client/proxmark3.h b/client/proxmark3.h index 87cf3e74..6874f9d8 100644 --- a/client/proxmark3.h +++ b/client/proxmark3.h @@ -8,14 +8,15 @@ //----------------------------------------------------------------------------- // Main binary //----------------------------------------------------------------------------- - #ifndef PROXMARK3_H__ #define PROXMARK3_H__ // Handle platform specific includes -#ifdef __WIN32 +#ifdef _WIN32 // for MINGW32 environments - #define _USE_32BIT_TIME_T 1 + #ifndef _USE_32BIT_TIME_T + #define _USE_32BIT_TIME_T 1 + #endif #include #include #else @@ -26,14 +27,10 @@ #include #include "usb_cmd.h" -#define lu PRIu32 -#define lx PRIx32 -#define llx PRIx64 -#define lli PRIi64 -#define llu PRIu64 -#define hhu PRIu8 #define PROXPROMPT "pm3 --> " void SendCommand(UsbCommand *c); +const char *get_my_executable_path(void); +const char *get_my_executable_directory(void); -#endif +#endif \ No newline at end of file