comparison system/System.h @ 1232:f350af2b542d project-file-rework

More Windows build bits
author Chris Cannam
date Thu, 27 Oct 2016 10:29:44 +0100
parents 794b64e62e58
children 91231350ee22
comparison
equal deleted inserted replaced
1231:c0cec4659784 1232:f350af2b542d
62 #if defined(_MSC_VER) 62 #if defined(_MSC_VER)
63 #include <BaseTsd.h> 63 #include <BaseTsd.h>
64 typedef SSIZE_T ssize_t; 64 typedef SSIZE_T ssize_t;
65 #endif 65 #endif
66 66
67 #ifdef _MSC_VER
67 extern "C" { 68 extern "C" {
68
69 #ifdef _MSC_VER
70 void usleep(unsigned long usec); 69 void usleep(unsigned long usec);
70 }
71 #else
72 #include <unistd.h>
71 #endif 73 #endif
72 74
75 extern "C" {
73 int gettimeofday(struct timeval *p, void *tz); 76 int gettimeofday(struct timeval *p, void *tz);
74 } 77 }
75 78
76 #define ISNAN std::isnan 79 #define ISNAN std::isnan
77 #define ISINF std::isinf 80 #define ISINF std::isinf