Mercurial > gnulib
annotate lib/sys_select.in.h @ 12766:2c14f1e449e5
warn-on-use: use instead of link-warning
Each *.in.h file serves two purposes - provide enough self-contained
content to serve as a replacement for the system header regardless of
the user's compiler, and offer the developer the ability to detect any
gnulib modules that might have been inadvertantly excluded. The
former requires independence from config.h, and routes everything
through a Makefile.am snippet that uses @@ substitution specific to
the modules that were in use, with details learned at configure time.
The latter works by poisoning anything that gnulib did not replace,
but which the developer had natively available, explaining why their
tests passed during development. Poisoning relies on gcc features,
and requires manual triggering by adding -DGNULIB_POSIXCHECK to
CFLAGS; it assumes that <config.h> is properly included. In fact, we
do not want to use @@ substitution for HAVE_DECL_* during poisoning,
because the warning is only relevant for the gnulib modules which were
not included, and thus where the m4 macros to set proper @@ values
have not been run. Furthermore, we only need to poison interfaces
that already have a declaration; if something is not declared, then
the developer wouldn't have been able to link, so their code won't be
using the problematic interface in the first place.
* modules/stdio (Depends-on, Makefile.am): Drop link-warning.
* modules/unistd (Depends-on, Makefile.am): Likewise.
* modules/arpa_inet (Depends-on): Replace link-warning with
warn-on-use.
(Makefile.am): Update rules accordingly.
* modules/ctype (Depends-on, Makefile.am): Likewise.
* modules/dirent (Depends-on, Makefile.am): Likewise.
* modules/fcntl-h (Depends-on, Makefile.am): Likewise.
* modules/inttypes (Depends-on, Makefile.am): Likewise.
* modules/langinfo (Depends-on, Makefile.am): Likewise.
* modules/locale (Depends-on, Makefile.am): Likewise.
* modules/math (Depends-on, Makefile.am): Likewise.
* modules/search (Depends-on, Makefile.am): Likewise.
* modules/signal (Depends-on, Makefile.am): Likewise.
* modules/spawn (Depends-on, Makefile.am): Likewise.
* modules/stdlib (Depends-on, Makefile.am): Likewise.
* modules/string (Depends-on, Makefile.am): Likewise.
* modules/strings (Depends-on, Makefile.am): Likewise.
* modules/sys_file (Depends-on, Makefile.am): Likewise.
* modules/sys_ioctl (Depends-on, Makefile.am): Likewise.
* modules/sys_select (Depends-on, Makefile.am): Likewise.
* modules/sys_socket (Depends-on, Makefile.am): Likewise.
* modules/sys_stat (Depends-on, Makefile.am): Likewise.
* modules/sys_times (Depends-on, Makefile.am): Likewise.
* modules/sys_utsname (Depends-on, Makefile.am): Likewise.
* modules/wchar (Depends-on, Makefile.am): Likewise.
* m4/arpa_inet_h.m4 (gl_HEADER_ARPA_INET): Check which functions
should be poisoned.
* m4/ctype.m4 (gl_CTYPE_H): Likewise.
* m4/dirent_h.m4 (gl_DIRENT_H): Likewise.
* m4/fcntl_h.m4 (gl_FCNTL_H): Likewise.
* m4/inttypes.m4 (gl_INTTYPES_H): Likewise.
* m4/langinfo_h.m4 (gl_LANGINFO_H): Likewise.
* m4/locale_h.m4 (gl_LOCALE_H): Likewise.
* m4/math_h.m4 (gl_MATH_H): Likewise.
* m4/search_h.m4 (gl_SEARCH_H): Likewise.
* m4/signal_h.m4 (gl_SIGNAL_H): Likewise.
* m4/spawn_h.m4 (gl_SPAWN_H): Likewise.
* m4/stdio_h.m4 (gl_STDIO_H): Likewise.
* m4/stdlib_h.m4 (gl_STDLIB_H): Likewise.
* m4/string_h.m4 (gl_HEADER_STRING_H_BODY): Likewise.
* m4/strings_h.m4 (gl_HEADER_STRINGS_H_BODY): Likewise.
* m4/sys_file_h.m4 (gl_HEADER_SYS_FILE_H_DEFAULTS): Likewise.
* m4/sys_ioctl_h.m4 (gl_SYS_IOCTL_H): Likewise.
* m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Likewise.
* m4/sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Likewise.
* m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Likewise.
* m4/sys_times_h.m4 (gl_SYS_TIMES_H): Likewise.
* m4/sys_utsname_h.m4 (gl_SYS_UTSNAME_H): Likewise.
* m4/unistd_h.m4 (gl_UNISTD_H): Likewise.
* m4/wchar.m4 (gl_WCHAR_H): Likewise.
* lib/arpa_inet.in.h: Use _GL_WARN_ON_USE instead of
GL_LINK_WARNING.
* lib/ctype.in.h: Likewise.
* lib/dirent.in.h: Likewise.
* lib/fcntl.in.h: Likewise.
* lib/inttypes.in.h: Likewise.
* lib/langinfo.in.h: Likewise.
* lib/locale.in.h: Likewise.
* lib/math.in.h: Likewise.
* lib/search.in.h: Likewise.
* lib/signal.in.h: Likewise.
* lib/spawn.in.h: Likewise.
* lib/stdio.in.h: Likewise.
* lib/stdlib.in.h: Likewise.
* lib/string.in.h: Likewise.
* lib/strings.in.h: Likewise.
* lib/sys_file.in.h: Likewise.
* lib/sys_ioctl.in.h: Likewise.
* lib/sys_select.in.h: Likewise.
* lib/sys_socket.in.h: Likewise.
* lib/sys_stat.in.h: Likewise.
* lib/sys_times.in.h: Likewise.
* lib/sys_utsname.in.h: Likewise.
* lib/unistd.in.h: Likewise.
* lib/wchar.in.h: Likewise.
Signed-off-by: Eric Blake <ebb9@byu.net>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Wed, 16 Dec 2009 16:20:28 -0700 |
parents | c2cbabec01dd |
children | 89031a1cde2f |
rev | line source |
---|---|
9265
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1 /* Substitute for <sys/select.h>. |
12559
c2cbabec01dd
update nearly all FSF copyright year lists to include 2010
Jim Meyering <meyering@redhat.com>
parents:
12497
diff
changeset
|
2 Copyright (C) 2007-2010 Free Software Foundation, Inc. |
9265
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
3 |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
4 This program is free software; you can redistribute it and/or modify |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
5 it under the terms of the GNU General Public License as published by |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
6 the Free Software Foundation; either version 2, or (at your option) |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
7 any later version. |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
8 |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
9 This program is distributed in the hope that it will be useful, |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
10 but WITHOUT ANY WARRANTY; without even the implied warranty of |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
12 GNU General Public License for more details. |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
13 |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
14 You should have received a copy of the GNU General Public License |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
15 along with this program; if not, write to the Free Software Foundation, |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
16 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
17 |
10882
3c51cf16c4fa
Fix compilation error on OSF/1 4.0.
Bruno Haible <bruno@clisp.org>
parents:
10655
diff
changeset
|
18 # if __GNUC__ >= 3 |
3c51cf16c4fa
Fix compilation error on OSF/1 4.0.
Bruno Haible <bruno@clisp.org>
parents:
10655
diff
changeset
|
19 @PRAGMA_SYSTEM_HEADER@ |
3c51cf16c4fa
Fix compilation error on OSF/1 4.0.
Bruno Haible <bruno@clisp.org>
parents:
10655
diff
changeset
|
20 # endif |
3c51cf16c4fa
Fix compilation error on OSF/1 4.0.
Bruno Haible <bruno@clisp.org>
parents:
10655
diff
changeset
|
21 |
3c51cf16c4fa
Fix compilation error on OSF/1 4.0.
Bruno Haible <bruno@clisp.org>
parents:
10655
diff
changeset
|
22 /* On OSF/1, <sys/types.h> and <sys/time.h> include <sys/select.h>. |
3c51cf16c4fa
Fix compilation error on OSF/1 4.0.
Bruno Haible <bruno@clisp.org>
parents:
10655
diff
changeset
|
23 Simply delegate to the system's header in this case. */ |
3c51cf16c4fa
Fix compilation error on OSF/1 4.0.
Bruno Haible <bruno@clisp.org>
parents:
10655
diff
changeset
|
24 #if @HAVE_SYS_SELECT_H@ && defined __osf__ && (defined _SYS_TYPES_H_ && !defined _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TYPES_H) && defined _OSF_SOURCE |
3c51cf16c4fa
Fix compilation error on OSF/1 4.0.
Bruno Haible <bruno@clisp.org>
parents:
10655
diff
changeset
|
25 |
3c51cf16c4fa
Fix compilation error on OSF/1 4.0.
Bruno Haible <bruno@clisp.org>
parents:
10655
diff
changeset
|
26 # define _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TYPES_H |
3c51cf16c4fa
Fix compilation error on OSF/1 4.0.
Bruno Haible <bruno@clisp.org>
parents:
10655
diff
changeset
|
27 # @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@ |
3c51cf16c4fa
Fix compilation error on OSF/1 4.0.
Bruno Haible <bruno@clisp.org>
parents:
10655
diff
changeset
|
28 |
3c51cf16c4fa
Fix compilation error on OSF/1 4.0.
Bruno Haible <bruno@clisp.org>
parents:
10655
diff
changeset
|
29 #elif @HAVE_SYS_SELECT_H@ && defined __osf__ && (defined _SYS_TIME_H_ && !defined _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TIME_H) && defined _OSF_SOURCE |
3c51cf16c4fa
Fix compilation error on OSF/1 4.0.
Bruno Haible <bruno@clisp.org>
parents:
10655
diff
changeset
|
30 |
3c51cf16c4fa
Fix compilation error on OSF/1 4.0.
Bruno Haible <bruno@clisp.org>
parents:
10655
diff
changeset
|
31 # define _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TIME_H |
3c51cf16c4fa
Fix compilation error on OSF/1 4.0.
Bruno Haible <bruno@clisp.org>
parents:
10655
diff
changeset
|
32 # @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@ |
3c51cf16c4fa
Fix compilation error on OSF/1 4.0.
Bruno Haible <bruno@clisp.org>
parents:
10655
diff
changeset
|
33 |
3c51cf16c4fa
Fix compilation error on OSF/1 4.0.
Bruno Haible <bruno@clisp.org>
parents:
10655
diff
changeset
|
34 #else |
3c51cf16c4fa
Fix compilation error on OSF/1 4.0.
Bruno Haible <bruno@clisp.org>
parents:
10655
diff
changeset
|
35 |
9265
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
36 #ifndef _GL_SYS_SELECT_H |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
37 |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
38 #if @HAVE_SYS_SELECT_H@ |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
39 |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
40 /* On many platforms, <sys/select.h> assumes prior inclusion of |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
41 <sys/types.h>. */ |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
42 # include <sys/types.h> |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
43 |
10541
142140ec3db8
strengthen self-containedness check for sys/select.h
Paolo Bonzini <bonzini@gnu.org>
parents:
10539
diff
changeset
|
44 /* On OSF/1 4.0, <sys/select.h> provides only a forward declaration |
12497
e2d59f164e76
Avoid future namespace pollution on glibc systems.
Bruno Haible <bruno@clisp.org>
parents:
11797
diff
changeset
|
45 of 'struct timeval', and no definition of this type. |
e2d59f164e76
Avoid future namespace pollution on glibc systems.
Bruno Haible <bruno@clisp.org>
parents:
11797
diff
changeset
|
46 But avoid namespace pollution on glibc systems. */ |
e2d59f164e76
Avoid future namespace pollution on glibc systems.
Bruno Haible <bruno@clisp.org>
parents:
11797
diff
changeset
|
47 # ifndef __GLIBC__ |
e2d59f164e76
Avoid future namespace pollution on glibc systems.
Bruno Haible <bruno@clisp.org>
parents:
11797
diff
changeset
|
48 # include <sys/time.h> |
e2d59f164e76
Avoid future namespace pollution on glibc systems.
Bruno Haible <bruno@clisp.org>
parents:
11797
diff
changeset
|
49 # endif |
10541
142140ec3db8
strengthen self-containedness check for sys/select.h
Paolo Bonzini <bonzini@gnu.org>
parents:
10539
diff
changeset
|
50 |
11797
1bc3a28e8169
Make <sys/select.h> really self-contained, also on Solaris 10.
Bruno Haible <bruno@clisp.org>
parents:
11398
diff
changeset
|
51 /* On Solaris 10, <sys/select.h> provides an FD_ZERO implementation |
12497
e2d59f164e76
Avoid future namespace pollution on glibc systems.
Bruno Haible <bruno@clisp.org>
parents:
11797
diff
changeset
|
52 that relies on memset(), but without including <string.h>. |
e2d59f164e76
Avoid future namespace pollution on glibc systems.
Bruno Haible <bruno@clisp.org>
parents:
11797
diff
changeset
|
53 But avoid namespace pollution on glibc systems. */ |
e2d59f164e76
Avoid future namespace pollution on glibc systems.
Bruno Haible <bruno@clisp.org>
parents:
11797
diff
changeset
|
54 # ifndef __GLIBC__ |
e2d59f164e76
Avoid future namespace pollution on glibc systems.
Bruno Haible <bruno@clisp.org>
parents:
11797
diff
changeset
|
55 # include <string.h> |
e2d59f164e76
Avoid future namespace pollution on glibc systems.
Bruno Haible <bruno@clisp.org>
parents:
11797
diff
changeset
|
56 # endif |
11797
1bc3a28e8169
Make <sys/select.h> really self-contained, also on Solaris 10.
Bruno Haible <bruno@clisp.org>
parents:
11398
diff
changeset
|
57 |
9265
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
58 /* The include_next requires a split double-inclusion guard. */ |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
59 # @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@ |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
60 |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
61 #endif |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
62 |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
63 #ifndef _GL_SYS_SELECT_H |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
64 #define _GL_SYS_SELECT_H |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
65 |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
66 #if !@HAVE_SYS_SELECT_H@ |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
67 |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
68 /* A platform that lacks <sys/select.h>. */ |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
69 |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
70 # include <sys/socket.h> |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
71 |
12766
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
72 /* The definition of _GL_WARN_ON_USE is copied here. */ |
10539
affb655993ea
Make the headers usable in C++.
Bruno Haible <bruno@clisp.org>
parents:
10474
diff
changeset
|
73 |
10591
9a7657d2031f
Add a link warning when the 'select' module is not used.
Bruno Haible <bruno@clisp.org>
parents:
10586
diff
changeset
|
74 # ifdef __cplusplus |
10539
affb655993ea
Make the headers usable in C++.
Bruno Haible <bruno@clisp.org>
parents:
10474
diff
changeset
|
75 extern "C" { |
10591
9a7657d2031f
Add a link warning when the 'select' module is not used.
Bruno Haible <bruno@clisp.org>
parents:
10586
diff
changeset
|
76 # endif |
10539
affb655993ea
Make the headers usable in C++.
Bruno Haible <bruno@clisp.org>
parents:
10474
diff
changeset
|
77 |
10591
9a7657d2031f
Add a link warning when the 'select' module is not used.
Bruno Haible <bruno@clisp.org>
parents:
10586
diff
changeset
|
78 # if @GNULIB_SELECT@ |
11398
2de4c4d41f01
Work around select() bug on Interix 3.5.
Bruno Haible <bruno@clisp.org>
parents:
10882
diff
changeset
|
79 # if @HAVE_WINSOCK2_H@ || @REPLACE_SELECT@ |
10586 | 80 # undef select |
81 # define select rpl_select | |
10539
affb655993ea
Make the headers usable in C++.
Bruno Haible <bruno@clisp.org>
parents:
10474
diff
changeset
|
82 extern int rpl_select (int, fd_set *, fd_set *, fd_set *, struct timeval *); |
10586 | 83 # endif |
10591
9a7657d2031f
Add a link warning when the 'select' module is not used.
Bruno Haible <bruno@clisp.org>
parents:
10586
diff
changeset
|
84 # elif @HAVE_WINSOCK2_H@ |
9a7657d2031f
Add a link warning when the 'select' module is not used.
Bruno Haible <bruno@clisp.org>
parents:
10586
diff
changeset
|
85 # undef select |
9a7657d2031f
Add a link warning when the 'select' module is not used.
Bruno Haible <bruno@clisp.org>
parents:
10586
diff
changeset
|
86 # define select select_used_without_requesting_gnulib_module_select |
9a7657d2031f
Add a link warning when the 'select' module is not used.
Bruno Haible <bruno@clisp.org>
parents:
10586
diff
changeset
|
87 # elif defined GNULIB_POSIXCHECK |
9a7657d2031f
Add a link warning when the 'select' module is not used.
Bruno Haible <bruno@clisp.org>
parents:
10586
diff
changeset
|
88 # undef select |
12766
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
89 # if HAVE_RAW_DECL_SELECT |
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
90 _GL_WARN_ON_USE (select, "select is not always POSIX compliant - " |
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
91 "use gnulib module select for portability"); |
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
92 # endif |
10591
9a7657d2031f
Add a link warning when the 'select' module is not used.
Bruno Haible <bruno@clisp.org>
parents:
10586
diff
changeset
|
93 # endif |
10474
5fc74f43b3d6
implement full-blown select(2) for winsock
Paolo Bonzini <bonzini@gnu.org>
parents:
10375
diff
changeset
|
94 |
10591
9a7657d2031f
Add a link warning when the 'select' module is not used.
Bruno Haible <bruno@clisp.org>
parents:
10586
diff
changeset
|
95 # ifdef __cplusplus |
10539
affb655993ea
Make the headers usable in C++.
Bruno Haible <bruno@clisp.org>
parents:
10474
diff
changeset
|
96 } |
10474
5fc74f43b3d6
implement full-blown select(2) for winsock
Paolo Bonzini <bonzini@gnu.org>
parents:
10375
diff
changeset
|
97 # endif |
5fc74f43b3d6
implement full-blown select(2) for winsock
Paolo Bonzini <bonzini@gnu.org>
parents:
10375
diff
changeset
|
98 |
9265
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
99 #endif |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
100 |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
101 #endif /* _GL_SYS_SELECT_H */ |
6c8579ddc19d
Rename sys_select_.h to sys_select.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
102 #endif /* _GL_SYS_SELECT_H */ |
10882
3c51cf16c4fa
Fix compilation error on OSF/1 4.0.
Bruno Haible <bruno@clisp.org>
parents:
10655
diff
changeset
|
103 #endif /* OSF/1 */ |