From: John Emmas Date: Wed, 25 Sep 2013 14:56:01 +0000 (+0100) Subject: Define 'suseconds_t' which isn't normally defined for Windows X-Git-Tag: 1.0.0~868^2~40 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=70dcf7878b1f6084a5787c4a4d636f93deb4c871;p=ardour.git Define 'suseconds_t' which isn't normally defined for Windows --- 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 */ +#define WIN32_LEAN_AND_MEAN /* This line found to be needed by JE - 18-08-2013. Line was formerly. . . #include */ +#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 /* gets 'struct timeval' - Changed by JE - 23-07-2013. Was formerly. . . #include */ #ifdef _TIMEVAL_DEFINED