]> git.zerfleddert.de Git - proxmark3-svn/blame_incremental - client/proxmark3.h
FIX: time printing, like difftime in MINGW enviroments needs to use 32b time.
[proxmark3-svn] / client / proxmark3.h
... / ...
CommitLineData
1//-----------------------------------------------------------------------------
2// Copyright (C) 2009 Michael Gernoth <michael at gernoth.net>
3// Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
4//
5// This code is licensed to you under the terms of the GNU GPL, version 2 or,
6// at your option, any later version. See the LICENSE.txt file for the text of
7// the license.
8//-----------------------------------------------------------------------------
9// Main binary
10//-----------------------------------------------------------------------------
11
12#ifndef PROXMARK3_H__
13#define PROXMARK3_H__
14
15#ifdef __WIN32
16// for MINGW32 environments
17 #define _USE_32BIT_TIME_T 1
18#endif
19#define __STDC_FORMAT_MACROS 1
20#include <inttypes.h>
21#define lx PRIx32
22#define llx PRIx64
23#define lli PRIi64
24#define llu PRIu64
25#define hhu PRIu8
26
27#include "usb_cmd.h"
28
29#define PROXPROMPT "pm3 --> "
30
31void SendCommand(UsbCommand *c);
32
33#endif
Impressum, Datenschutz