summaryrefslogtreecommitdiff
path: root/msvc_extra_headers
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2013-09-25 15:56:01 +0100
committerJohn Emmas <johne53@tiscali.co.uk>2013-09-25 15:56:01 +0100
commit70dcf7878b1f6084a5787c4a4d636f93deb4c871 (patch)
tree8f0b2e329e94b4369eba1c93e404f03685d1c814 /msvc_extra_headers
parent17ad0a0b61a887362ce07b1f8b59de003ddd9233 (diff)
Define 'suseconds_t' which isn't normally defined for Windows
Diffstat (limited to 'msvc_extra_headers')
-rw-r--r--msvc_extra_headers/ardourext/sys/time.h.input7
1 files changed, 6 insertions, 1 deletions
diff --git a/msvc_extra_headers/ardourext/sys/time.h.input b/msvc_extra_headers/ardourext/sys/time.h.input
index a18ae94ee4..67c0e7d456 100644
--- a/msvc_extra_headers/ardourext/sys/time.h.input
+++ b/msvc_extra_headers/ardourext/sys/time.h.input
@@ -1,7 +1,12 @@
#ifndef _WINX_SYS_TIME_H_
#define _WINX_SYS_TIME_H_
-#define WIN32_LEAN_AND_MEAN /* This line found to be needed by JE - 18-08-2013. Line was formerly. . . #include <features.h> */
+#define WIN32_LEAN_AND_MEAN /* This line found to be needed by JE - 18-08-2013. Line was formerly. . . #include <features.h> */
+#ifndef __suseconds_t_defined /* This section added by JE - 22-08-2013 */
+#define __suseconds_t_defined
+typedef long __suseconds_t;
+typedef __suseconds_t suseconds_t;
+#endif
#include <WinSock2.h> /* gets 'struct timeval' - Changed by JE - 23-07-2013. Was formerly. . . #include <WinSock.h> */
#ifdef _TIMEVAL_DEFINED