Mercurial > hg > svcore
comparison base/RealTime.h @ 1216:c811991a5efa msvc2015_64
MSVC build fixes
author | Chris Cannam |
---|---|
date | Tue, 18 Oct 2016 14:03:55 +0100 |
parents | b8a788c9a6f1 |
children | 48e9f538e6e9 |
comparison
equal
deleted
inserted
replaced
1208:fef49844b3f8 | 1216:c811991a5efa |
---|---|
26 #include <iostream> | 26 #include <iostream> |
27 #include <string> | 27 #include <string> |
28 | 28 |
29 #include <vamp-hostsdk/RealTime.h> | 29 #include <vamp-hostsdk/RealTime.h> |
30 | 30 |
31 struct timeval; | 31 #ifdef _MSC_VER |
32 #include "winsock.h" // struct timeval is in here | |
33 #else | |
34 #include "sys/time.h" | |
35 #endif | |
32 | 36 |
33 /** | 37 /** |
34 * RealTime represents time values to nanosecond precision | 38 * RealTime represents time values to nanosecond precision |
35 * with accurate arithmetic and frame-rate conversion functions. | 39 * with accurate arithmetic and frame-rate conversion functions. |
36 */ | 40 */ |