mirror of
https://github.com/espressif/openthread.git
synced 2026-09-01 06:49:54 +00:00
[windows] remove unsupported platform (#3878)
This commit is contained in:
committed by
Jonathan Hui
parent
e482edb0f1
commit
c14cc60962
@@ -28,17 +28,7 @@
|
||||
|
||||
#include "test_platform.h"
|
||||
|
||||
#if _WIN32
|
||||
__forceinline int gettimeofday(struct timeval *tv, struct timezone *)
|
||||
{
|
||||
DWORD tick = GetTickCount();
|
||||
tv->tv_sec = (long)(tick / 1000);
|
||||
tv->tv_usec = (long)(tick * 1000);
|
||||
return 0;
|
||||
}
|
||||
#else
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
bool g_testPlatAlarmSet = false;
|
||||
uint32_t g_testPlatAlarmNext = 0;
|
||||
|
||||
Reference in New Issue
Block a user