Fix Xcode error with gettimeofday in fluid_sys.c
This commit is contained in:
parent
1eedc3eb2e
commit
5e3a8782ce
1 changed files with 2 additions and 0 deletions
|
@ -352,6 +352,8 @@ int gettimeofday(struct timeval * tp, struct timezone * tzp)
|
|||
tp->tv_usec = (long) (system_time.wMilliseconds * 1000);
|
||||
return 0;
|
||||
}
|
||||
#else
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue