diff options
author | Bruno Haible <bruno@clisp.org> | 2019-11-24 20:11:28 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-11-24 20:11:28 +0100 |
commit | df8452e776ee1e1374c4358d5df4c4f8e8440418 (patch) | |
tree | 775ece8206d6af990bca84d91c8a8ea8ba75593f /lib/sys_select.in.h | |
parent | 48c29e1b8c556c8546ec5756563d9f90aafa93ce (diff) | |
download | gnulib-df8452e776ee1e1374c4358d5df4c4f8e8440418.tar.gz |
sys_time: Fix errors in C++ mode on mingw.
* lib/sys_time.in.h (timeval): Restore the redirection
'#define timeval rpl_timeval', for when the symbol timeval is being used
outside the 'gnulib' namespace.
* lib/sys_select.in.h (select): In C++, write 'timeval', not
'struct timeval'.
Diffstat (limited to 'lib/sys_select.in.h')
-rw-r--r-- | lib/sys_select.in.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sys_select.in.h b/lib/sys_select.in.h index e264257daf..19205cba2e 100644 --- a/lib/sys_select.in.h +++ b/lib/sys_select.in.h @@ -295,7 +295,7 @@ _GL_FUNCDECL_RPL (select, int, struct timeval *restrict)); _GL_CXXALIAS_RPL (select, int, (int, fd_set *restrict, fd_set *restrict, fd_set *restrict, - struct timeval *restrict)); + timeval *restrict)); # else _GL_CXXALIAS_SYS (select, int, (int, fd_set *restrict, fd_set *restrict, fd_set *restrict, |