Removed _ftime_s redefine, calling _ftime directly

This commit is contained in:
m2otech 2017-03-30 02:32:54 +02:00
commit 2f967dc9e2

View file

@ -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)