mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-25 07:25:27 -07:00
Removed _ftime_s redefine, calling _ftime directly
This commit is contained in:
parent
254e80c24b
commit
2f967dc9e2
1 changed files with 1 additions and 2 deletions
|
@ -639,9 +639,8 @@ uint64_t msclock() {
|
|||
// WORKAROUND FOR MinGW (some versions - use if normal code does not compile)
|
||||
// It has no _ftime_s and needs explicit inclusion of timeb.h
|
||||
#include <sys/timeb.h>
|
||||
#define _ftime_s _ftime
|
||||
struct _timeb t;
|
||||
_ftime_s(&t);
|
||||
_ftime(&t);
|
||||
return 1000 * t.time + t.millitm;
|
||||
|
||||
// NORMAL CODE (use _ftime_s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue