Mercurial > gnulib
comparison lib/sys_select.in.h @ 10586:ca7f9b88efc1
New module 'select'.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 05 Oct 2008 17:20:58 +0200 |
parents | 142140ec3db8 |
children | 9a7657d2031f |
comparison
equal
deleted
inserted
replaced
10585:f6baf6887538 | 10586:ca7f9b88efc1 |
---|---|
47 | 47 |
48 # ifdef __cplusplus | 48 # ifdef __cplusplus |
49 extern "C" { | 49 extern "C" { |
50 # endif | 50 # endif |
51 | 51 |
52 # undef select | 52 # if @GNULIB_SELECT@ |
53 # define select rpl_select | 53 # undef select |
54 # define select rpl_select | |
54 extern int rpl_select (int, fd_set *, fd_set *, fd_set *, struct timeval *); | 55 extern int rpl_select (int, fd_set *, fd_set *, fd_set *, struct timeval *); |
56 # else | |
57 # undef select | |
58 # define select select_used_without_requesting_gnulib_module_select | |
59 # endif | |
55 | 60 |
56 # ifdef __cplusplus | 61 # ifdef __cplusplus |
57 } | 62 } |
58 # endif | 63 # endif |
59 | 64 |