Define 'suseconds_t' which isn't normally defined for Windows
authorJohn Emmas <johne53@tiscali.co.uk>
Wed, 25 Sep 2013 14:56:01 +0000 (15:56 +0100)
committerJohn Emmas <johne53@tiscali.co.uk>
Wed, 25 Sep 2013 14:56:01 +0000 (15:56 +0100)
msvc_extra_headers/ardourext/sys/time.h.input

index a18ae94ee41942a84f7ea6f9e4595f6d13365808..67c0e7d4563cea12588a57763a09c75238ff492f 100644 (file)
@@ -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