Mercurial > hg > svcore
changeset 1232:f350af2b542d project-file-rework
More Windows build bits
author | Chris Cannam |
---|---|
date | Thu, 27 Oct 2016 10:29:44 +0100 |
parents | c0cec4659784 |
children | fac1666e429b |
files | system/System.h |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/system/System.h Tue Oct 25 21:06:38 2016 +0100 +++ b/system/System.h Thu Oct 27 10:29:44 2016 +0100 @@ -64,12 +64,15 @@ typedef SSIZE_T ssize_t; #endif +#ifdef _MSC_VER extern "C" { - -#ifdef _MSC_VER void usleep(unsigned long usec); +} +#else +#include <unistd.h> #endif +extern "C" { int gettimeofday(struct timeval *p, void *tz); }