mirror of
https://github.com/mii443/libdatachannel.git
synced 2025-08-23 23:49:21 +00:00
Reorganized stuff to make plog private
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user