mac supported

This commit is contained in:
xinyang
2019-07-31 14:59:02 +08:00
parent 5212e0da73
commit cdd6716214
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ typedef struct{
void getsystime(systime &t);
#if defined(Linux)
#if defined(Linux) || defined(Darwin)
#include <sys/time.h>
#elif defined(Windows)
#include <Windows.h>