xref: /curl/lib/config-riscos.h (revision e411c98f)
1 #ifndef HEADER_CURL_CONFIG_RISCOS_H
2 #define HEADER_CURL_CONFIG_RISCOS_H
3 /***************************************************************************
4  *                                  _   _ ____  _
5  *  Project                     ___| | | |  _ \| |
6  *                             / __| | | | |_) | |
7  *                            | (__| |_| |  _ <| |___
8  *                             \___|\___/|_| \_\_____|
9  *
10  * Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
11  *
12  * This software is licensed as described in the file COPYING, which
13  * you should have received as part of this distribution. The terms
14  * are also available at https://curl.se/docs/copyright.html.
15  *
16  * You may opt to use, copy, modify, merge, publish, distribute and/or sell
17  * copies of the Software, and permit persons to whom the Software is
18  * furnished to do so, under the terms of the COPYING file.
19  *
20  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21  * KIND, either express or implied.
22  *
23  * SPDX-License-Identifier: curl
24  *
25  ***************************************************************************/
26 
27 /* ================================================================ */
28 /*               Hand crafted config file for RISC OS               */
29 /* ================================================================ */
30 
31 /* Name of this package! */
32 #undef PACKAGE
33 
34 /* Version number of this archive. */
35 #undef VERSION
36 
37 /* Define cpu-machine-OS */
38 #ifndef OS
39 #define OS "ARM-RISC OS"
40 #endif
41 
42 /* Define if you want the built-in manual */
43 #define USE_MANUAL
44 
45 /* Define if you have the gethostbyname_r() function with 3 arguments */
46 #undef HAVE_GETHOSTBYNAME_R_3
47 
48 /* Define if you have the gethostbyname_r() function with 5 arguments */
49 #undef HAVE_GETHOSTBYNAME_R_5
50 
51 /* Define if you have the gethostbyname_r() function with 6 arguments */
52 #undef HAVE_GETHOSTBYNAME_R_6
53 
54 /* Define if you need the _REENTRANT define for some functions */
55 #undef NEED_REENTRANT
56 
57 /* Define if you want to enable IPv6 support */
58 #undef USE_IPV6
59 
60 /* Define if struct sockaddr_in6 has the sin6_scope_id member */
61 #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
62 
63 /* Define this to 'int' if ssize_t is not an available typedefed type */
64 #undef ssize_t
65 
66 /* Define this as a suitable file to read random data from */
67 #undef RANDOM_FILE
68 
69 /* Define if you have the alarm function. */
70 #define HAVE_ALARM
71 
72 /* Define if you have the <arpa/inet.h> header file. */
73 #define HAVE_ARPA_INET_H
74 
75 /* Define if you have the `closesocket' function. */
76 #undef HAVE_CLOSESOCKET
77 
78 /* Define if you have the <fcntl.h> header file. */
79 #define HAVE_FCNTL_H
80 
81 /* Define if you have the `ftruncate' function. */
82 #define HAVE_FTRUNCATE
83 
84 /* Define if getaddrinfo exists and works */
85 #define HAVE_GETADDRINFO
86 
87 /* Define if you have the `geteuid' function. */
88 #undef HAVE_GETEUID
89 
90 /* Define if you have the `gethostbyname_r' function. */
91 #undef HAVE_GETHOSTBYNAME_R
92 
93 /* Define if you have the `gethostname' function. */
94 #define HAVE_GETHOSTNAME
95 
96 /* Define if you have the `getpass_r' function. */
97 #undef HAVE_GETPASS_R
98 
99 /* Define if you have the `getpwuid' function. */
100 #undef HAVE_GETPWUID
101 
102 /* Define if you have the `gettimeofday' function. */
103 #define HAVE_GETTIMEOFDAY
104 
105 /* Define if you have the `timeval' struct. */
106 #define HAVE_STRUCT_TIMEVAL
107 
108 /* Define if you have the <io.h> header file. */
109 #undef HAVE_IO_H
110 
111 /* Define if you have the `socket' library (-lsocket). */
112 #undef HAVE_LIBSOCKET
113 
114 /* Define if you need the malloc.h header file even with stdlib.h  */
115 /* #define NEED_MALLOC_H 1 */
116 
117 /* Define if you have the <netdb.h> header file. */
118 #define HAVE_NETDB_H
119 
120 /* Define if you have the <netinet/in.h> header file. */
121 #define HAVE_NETINET_IN_H
122 
123 /* Define if you have the <net/if.h> header file. */
124 #define HAVE_NET_IF_H
125 
126 /* Define if you have the <pwd.h> header file. */
127 #undef HAVE_PWD_H
128 
129 /* Define if you have the `select' function. */
130 #define HAVE_SELECT
131 
132 /* Define if you have the `sigaction' function. */
133 #undef HAVE_SIGACTION
134 
135 /* Define if you have the `signal' function. */
136 #define HAVE_SIGNAL
137 
138 /* Define if you have the `socket' function. */
139 #define HAVE_SOCKET
140 
141 /* Define if you have the `strcasecmp' function. */
142 #undef HAVE_STRCASECMP
143 
144 /* Define if you have the `strcmpi' function. */
145 #undef HAVE_STRCMPI
146 
147 /* Define if you have the `strdup' function. */
148 #define HAVE_STRDUP
149 
150 /* Define if you have the `stricmp' function. */
151 #define HAVE_STRICMP
152 
153 /* Define if you have the <strings.h> header file. */
154 #undef HAVE_STRINGS_H
155 
156 /* Define if you have the `strtok_r' function. */
157 #undef HAVE_STRTOK_R
158 
159 /* Define if you have the `strtoll' function. */
160 #undef HAVE_STRTOLL
161 
162 /* Define if you have the <sys/param.h> header file. */
163 #undef HAVE_SYS_PARAM_H
164 
165 /* Define if you have the <sys/select.h> header file. */
166 #undef HAVE_SYS_SELECT_H
167 
168 /* Define if you have the <sys/socket.h> header file. */
169 #define HAVE_SYS_SOCKET_H
170 
171 /* Define if you have the <sys/sockio.h> header file. */
172 #undef HAVE_SYS_SOCKIO_H
173 
174 /* Define if you have the <sys/stat.h> header file. */
175 #undef HAVE_SYS_STAT_H
176 
177 /* Define if you have the <sys/time.h> header file. */
178 #define HAVE_SYS_TIME_H
179 
180 /* Define if you have the <sys/types.h> header file. */
181 #define HAVE_SYS_TYPES_H
182 
183 /* Define if you have the <termios.h> header file. */
184 #define HAVE_TERMIOS_H
185 
186 /* Define if you have the <termio.h> header file. */
187 #undef HAVE_TERMIO_H
188 
189 /* Define if you have the <unistd.h> header file. */
190 #define HAVE_UNISTD_H
191 
192 /* Name of package */
193 #undef PACKAGE
194 
195 /* The size of `int', as computed by sizeof. */
196 #define SIZEOF_INT 4
197 
198 /* The size of `long long', as computed by sizeof. */
199 #undef SIZEOF_LONG_LONG
200 
201 /* The size of `size_t', as computed by sizeof. */
202 #define SIZEOF_SIZE_T 4
203 
204 /* Define if you have the ANSI C header files. */
205 #undef STDC_HEADERS
206 
207 /* Version number of package */
208 #undef VERSION
209 
210 /* Define if on AIX 3.
211    System headers sometimes define this.
212    We just want to avoid a redefinition error message.  */
213 #ifndef _ALL_SOURCE
214 # undef _ALL_SOURCE
215 #endif
216 
217 /* Number of bits in a file offset, on hosts where this is settable. */
218 #undef _FILE_OFFSET_BITS
219 
220 /* Define for large files, on AIX-style hosts. */
221 #undef _LARGE_FILES
222 
223 /* Define to empty if `const' does not conform to ANSI C. */
224 #undef const
225 
226 /* Define to `unsigned' if <sys/types.h> does not define. */
227 #undef size_t
228 
229 /* Define to `int' if <sys/types.h> does not define. */
230 #undef ssize_t
231 
232 /* Define if you have a working ioctl FIONBIO function. */
233 #define HAVE_IOCTL_FIONBIO
234 
235 /* to disable LDAP */
236 #define CURL_DISABLE_LDAP
237 
238 /* Define if you have the recv function. */
239 #define HAVE_RECV 1
240 
241 /* Define to the type of arg 1 for recv. */
242 #define RECV_TYPE_ARG1 int
243 
244 /* Define to the type of arg 2 for recv. */
245 #define RECV_TYPE_ARG2 void *
246 
247 /* Define to the type of arg 3 for recv. */
248 #define RECV_TYPE_ARG3 size_t
249 
250 /* Define to the type of arg 4 for recv. */
251 #define RECV_TYPE_ARG4 int
252 
253 /* Define to the function return type for recv. */
254 #define RECV_TYPE_RETV ssize_t
255 
256 /* Define if you have the send function. */
257 #define HAVE_SEND 1
258 
259 /* Define to the type of arg 1 for send. */
260 #define SEND_TYPE_ARG1 int
261 
262 /* Define to the type qualifier of arg 2 for send. */
263 #define SEND_QUAL_ARG2 const
264 
265 /* Define to the type of arg 2 for send. */
266 #define SEND_TYPE_ARG2 void *
267 
268 /* Define to the type of arg 3 for send. */
269 #define SEND_TYPE_ARG3 size_t
270 
271 /* Define to the type of arg 4 for send. */
272 #define SEND_TYPE_ARG4 int
273 
274 /* Define to the function return type for send. */
275 #define SEND_TYPE_RETV ssize_t
276 
277 #endif /* HEADER_CURL_CONFIG_RISCOS_H */
278