Mercurial > hg > svcore
comparison base/RealTime.h @ 1221:a1b97df9962e 3.0-integration
Merge from branch msvc2015_64
author | Chris Cannam |
---|---|
date | Thu, 20 Oct 2016 11:16:22 +0100 |
parents | c811991a5efa |
children | 48e9f538e6e9 |
comparison
equal
deleted
inserted
replaced
1215:f50ded4b951c | 1221:a1b97df9962e |
---|---|
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 */ |