comparison system/System.h @ 1218:6b847a59d908 msvc2015_64

MSVC build fixes
author Chris Cannam
date Tue, 18 Oct 2016 15:54:56 +0100
parents c811991a5efa
children 794b64e62e58
comparison
equal deleted inserted replaced
1217:046f05fa31f3 1218:6b847a59d908
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 extern "C" { 67 extern "C" {
68 /* usleep is now in mingw 68
69 #ifdef _MSC_VER
69 void usleep(unsigned long usec); 70 void usleep(unsigned long usec);
70 */ 71 #endif
72
71 int gettimeofday(struct timeval *p, void *tz); 73 int gettimeofday(struct timeval *p, void *tz);
72 } 74 }
73 75
74 #define ISNAN std::isnan 76 #define ISNAN std::isnan
75 #define ISINF std::isinf 77 #define ISINF std::isinf