1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 13:47:01 -04:00

add gettimeofday() compatibility function for windows

plugins that need that:
  - remotesink
  - remotesource
This commit is contained in:
Davide Gerhard
2019-05-27 16:51:15 +02:00
parent d49e28e266
commit f61d1c3908
9 changed files with 63 additions and 5 deletions
@@ -17,8 +17,13 @@
#include "remotesource.h"
#if (defined _WIN32_) || (defined _MSC_VER)
#include "windows_time.h"
#include <stdint.h>
#else
#include <sys/time.h>
#include <unistd.h>
#endif
#include <boost/crc.hpp>
#include <boost/cstdint.hpp>