Fixed Windows build

This commit is contained in:
Matthias Koefferlein 2021-01-17 23:35:22 +01:00
parent 489e738a05
commit 5b60e2be90
1 changed files with 8 additions and 5 deletions

View File

@ -25,8 +25,15 @@
#include "tlLog.h"
#include "tlString.h"
#ifndef _WIN32
#if defined(_MSC_VER)
# include <Windows.h>
#elif defined(_WIN32)
# include <sys/times.h>
# include <Windows.h>
#
#endif
#include <stdio.h>
@ -35,10 +42,6 @@
# include <unistd.h>
#endif
#if defined(_MSC_VER)
# include <Windows.h>
#endif
#if defined(__MACH__)
# include <mach/clock.h>
# include <mach/mach.h>