ReactOS  0.4.15-dev-3453-gff89651
config.h
Go to the documentation of this file.
1 /* src/config.h. Generated automatically by configure. */
2 /* src/config.h.in. Generated automatically from configure.in by autoheader. */
3 
4 /* Define if inline functions a la GCC are available. */
5 #define HAVE_INLINE 1
6 
7 /* Define if function attributes a la GCC 2.5 and higher are available. */
8 /* #define HAVE_GNUC25_ATTRIB 1 */
9 
10 /* Define if constant functions a la GCC 2.5 and higher are available. */
11 /* #define HAVE_GNUC25_CONST 1 */
12 
13 /* Define if nonreturning functions a la GCC 2.5 and higher are available. */
14 /* #define HAVE_GNUC25_NORETURN 1 */
15 
16 /* Define if printf-format argument lists a la GCC are available. */
17 /* #define HAVE_GNUC25_PRINTFFORMAT 1 */
18 
19 /* Define if we want to include rpc/types.h. Crap BSDs put INADDR_LOOPBACK there. */
20 /* #undef HAVEUSE_RPCTYPES_H */
21 
22 /* Define if you have the poll function. */
23 /* #define HAVE_POLL 1 */
24 
25 /* Define if you have the <sys/select.h> header file. */
26 #define HAVE_SYS_SELECT_H 1
27 
28 /* Define if you have the nsl library (-lnsl). */
29 /* #undef HAVE_LIBNSL */
30 
31 /* Define if you have the socket library (-lsocket). */
32 /* #undef HAVE_LIBSOCKET */
33 
34 /* Use the definitions: */
35 
36 #ifndef HAVE_INLINE
37 #define inline
38 #endif
39 
40 #ifdef HAVE_POLL
41 #include <sys/poll.h>
42 #else
43 /* kludge it up */
44 struct pollfd { int fd; short events; short revents; };
45 #define POLLIN 1
46 #define POLLPRI 2
47 #define POLLOUT 4
48 #endif
49 
50 /* GNU C attributes. */
51 #ifndef FUNCATTR
52 #ifdef HAVE_GNUC25_ATTRIB
53 #define FUNCATTR(x) __attribute__(x)
54 #else
55 #define FUNCATTR(x)
56 #endif
57 #endif
58 
59 /* GNU C printf formats, or null. */
60 #ifndef ATTRPRINTF
61 #ifdef HAVE_GNUC25_PRINTFFORMAT
62 #define ATTRPRINTF(si,tc) format(printf,si,tc)
63 #else
64 #define ATTRPRINTF(si,tc)
65 #endif
66 #endif
67 #ifndef PRINTFFORMAT
68 #define PRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc)))
69 #endif
70 
71 /* GNU C nonreturning functions, or null. */
72 #ifndef ATTRNORETURN
73 #ifdef HAVE_GNUC25_NORETURN
74 #define ATTRNORETURN noreturn
75 #else
76 #define ATTRNORETURN
77 #endif
78 #endif
79 #ifndef NONRETURNING
80 #define NONRETURNING FUNCATTR((ATTRNORETURN))
81 #endif
82 
83 /* Combination of both the above. */
84 #ifndef NONRETURNPRINTFFORMAT
85 #define NONRETURNPRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc),ATTRNORETURN))
86 #endif
87 
88 /* GNU C constant functions, or null. */
89 #ifndef ATTRCONST
90 #ifdef HAVE_GNUC25_CONST
91 #define ATTRCONST const
92 #else
93 #define ATTRCONST
94 #endif
95 #endif
96 #ifndef CONSTANT
97 #define CONSTANT FUNCATTR((ATTRCONST))
98 #endif
99 
100 #ifdef HAVEUSE_RPCTYPES_H
101 #include <rpc/types.h>
102 #endif
103 
104 #if !defined(ADNS_JGAA_WIN32) && defined(HAVE_SYS_SELECT_H)
105 #include <sys/select.h>
106 #endif
short events
Definition: linux.h:1869
Definition: linux.h:1867
int fd
Definition: linux.h:1868
short revents
Definition: linux.h:1870