Reorganized stuff to make plog private

This commit is contained in:
Paul-Louis Ageneau
2021-04-13 21:55:09 +02:00
parent 2fd3da482a
commit 4ca78db146
35 changed files with 956 additions and 762 deletions

View File

@ -19,9 +19,8 @@
#include "helpers.hpp"
#include <ctime>
#if _WIN32
#ifdef _WIN32
// taken from https://stackoverflow.com/questions/10905892/equivalent-of-gettimeday-for-windows
#include <Windows.h>
struct timezone {
@ -55,6 +54,8 @@ int gettimeofday(struct timeval *tv, struct timezone *tz)
}
return 0;
}
#else
#include <sys/time.h>
#endif
using namespace std;