xref: /third_party/curl/lib/config-riscos.h (revision 13498266)
113498266Sopenharmony_ci#ifndef HEADER_CURL_CONFIG_RISCOS_H
213498266Sopenharmony_ci#define HEADER_CURL_CONFIG_RISCOS_H
313498266Sopenharmony_ci/***************************************************************************
413498266Sopenharmony_ci *                                  _   _ ____  _
513498266Sopenharmony_ci *  Project                     ___| | | |  _ \| |
613498266Sopenharmony_ci *                             / __| | | | |_) | |
713498266Sopenharmony_ci *                            | (__| |_| |  _ <| |___
813498266Sopenharmony_ci *                             \___|\___/|_| \_\_____|
913498266Sopenharmony_ci *
1013498266Sopenharmony_ci * Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
1113498266Sopenharmony_ci *
1213498266Sopenharmony_ci * This software is licensed as described in the file COPYING, which
1313498266Sopenharmony_ci * you should have received as part of this distribution. The terms
1413498266Sopenharmony_ci * are also available at https://curl.se/docs/copyright.html.
1513498266Sopenharmony_ci *
1613498266Sopenharmony_ci * You may opt to use, copy, modify, merge, publish, distribute and/or sell
1713498266Sopenharmony_ci * copies of the Software, and permit persons to whom the Software is
1813498266Sopenharmony_ci * furnished to do so, under the terms of the COPYING file.
1913498266Sopenharmony_ci *
2013498266Sopenharmony_ci * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
2113498266Sopenharmony_ci * KIND, either express or implied.
2213498266Sopenharmony_ci *
2313498266Sopenharmony_ci * SPDX-License-Identifier: curl
2413498266Sopenharmony_ci *
2513498266Sopenharmony_ci ***************************************************************************/
2613498266Sopenharmony_ci
2713498266Sopenharmony_ci/* ================================================================ */
2813498266Sopenharmony_ci/*               Hand crafted config file for RISC OS               */
2913498266Sopenharmony_ci/* ================================================================ */
3013498266Sopenharmony_ci
3113498266Sopenharmony_ci/* Name of this package! */
3213498266Sopenharmony_ci#undef PACKAGE
3313498266Sopenharmony_ci
3413498266Sopenharmony_ci/* Version number of this archive. */
3513498266Sopenharmony_ci#undef VERSION
3613498266Sopenharmony_ci
3713498266Sopenharmony_ci/* Define cpu-machine-OS */
3813498266Sopenharmony_ci#ifndef OS
3913498266Sopenharmony_ci#define OS "ARM-RISC OS"
4013498266Sopenharmony_ci#endif
4113498266Sopenharmony_ci
4213498266Sopenharmony_ci/* Define if you want the built-in manual */
4313498266Sopenharmony_ci#define USE_MANUAL
4413498266Sopenharmony_ci
4513498266Sopenharmony_ci/* Define if you have the gethostbyname_r() function with 3 arguments */
4613498266Sopenharmony_ci#undef HAVE_GETHOSTBYNAME_R_3
4713498266Sopenharmony_ci
4813498266Sopenharmony_ci/* Define if you have the gethostbyname_r() function with 5 arguments */
4913498266Sopenharmony_ci#undef HAVE_GETHOSTBYNAME_R_5
5013498266Sopenharmony_ci
5113498266Sopenharmony_ci/* Define if you have the gethostbyname_r() function with 6 arguments */
5213498266Sopenharmony_ci#undef HAVE_GETHOSTBYNAME_R_6
5313498266Sopenharmony_ci
5413498266Sopenharmony_ci/* Define if you need the _REENTRANT define for some functions */
5513498266Sopenharmony_ci#undef NEED_REENTRANT
5613498266Sopenharmony_ci
5713498266Sopenharmony_ci/* Define if you want to enable IPv6 support */
5813498266Sopenharmony_ci#undef ENABLE_IPV6
5913498266Sopenharmony_ci
6013498266Sopenharmony_ci/* Define if struct sockaddr_in6 has the sin6_scope_id member */
6113498266Sopenharmony_ci#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
6213498266Sopenharmony_ci
6313498266Sopenharmony_ci/* Define this to 'int' if ssize_t is not an available typedefed type */
6413498266Sopenharmony_ci#undef ssize_t
6513498266Sopenharmony_ci
6613498266Sopenharmony_ci/* Define this as a suitable file to read random data from */
6713498266Sopenharmony_ci#undef RANDOM_FILE
6813498266Sopenharmony_ci
6913498266Sopenharmony_ci/* Define if you want to enable IPv6 support */
7013498266Sopenharmony_ci#undef ENABLE_IPV6
7113498266Sopenharmony_ci
7213498266Sopenharmony_ci/* Define if you have the alarm function. */
7313498266Sopenharmony_ci#define HAVE_ALARM
7413498266Sopenharmony_ci
7513498266Sopenharmony_ci/* Define if you have the <arpa/inet.h> header file. */
7613498266Sopenharmony_ci#define HAVE_ARPA_INET_H
7713498266Sopenharmony_ci
7813498266Sopenharmony_ci/* Define if you have the `closesocket' function. */
7913498266Sopenharmony_ci#undef HAVE_CLOSESOCKET
8013498266Sopenharmony_ci
8113498266Sopenharmony_ci/* Define if you have the <fcntl.h> header file. */
8213498266Sopenharmony_ci#define HAVE_FCNTL_H
8313498266Sopenharmony_ci
8413498266Sopenharmony_ci/* Define if you have the `ftruncate' function. */
8513498266Sopenharmony_ci#define HAVE_FTRUNCATE
8613498266Sopenharmony_ci
8713498266Sopenharmony_ci/* Define if getaddrinfo exists and works */
8813498266Sopenharmony_ci#define HAVE_GETADDRINFO
8913498266Sopenharmony_ci
9013498266Sopenharmony_ci/* Define if you have the `geteuid' function. */
9113498266Sopenharmony_ci#undef HAVE_GETEUID
9213498266Sopenharmony_ci
9313498266Sopenharmony_ci/* Define if you have the `gethostbyname_r' function. */
9413498266Sopenharmony_ci#undef HAVE_GETHOSTBYNAME_R
9513498266Sopenharmony_ci
9613498266Sopenharmony_ci/* Define if you have the `gethostname' function. */
9713498266Sopenharmony_ci#define HAVE_GETHOSTNAME
9813498266Sopenharmony_ci
9913498266Sopenharmony_ci/* Define if you have the `getpass_r' function. */
10013498266Sopenharmony_ci#undef HAVE_GETPASS_R
10113498266Sopenharmony_ci
10213498266Sopenharmony_ci/* Define if you have the `getpwuid' function. */
10313498266Sopenharmony_ci#undef HAVE_GETPWUID
10413498266Sopenharmony_ci
10513498266Sopenharmony_ci/* Define if you have the `gettimeofday' function. */
10613498266Sopenharmony_ci#define HAVE_GETTIMEOFDAY
10713498266Sopenharmony_ci
10813498266Sopenharmony_ci/* Define if you have the `timeval' struct. */
10913498266Sopenharmony_ci#define HAVE_STRUCT_TIMEVAL
11013498266Sopenharmony_ci
11113498266Sopenharmony_ci/* Define if you have the <io.h> header file. */
11213498266Sopenharmony_ci#undef HAVE_IO_H
11313498266Sopenharmony_ci
11413498266Sopenharmony_ci/* Define if you have the `socket' library (-lsocket). */
11513498266Sopenharmony_ci#undef HAVE_LIBSOCKET
11613498266Sopenharmony_ci
11713498266Sopenharmony_ci/* Define if you need the malloc.h header file even with stdlib.h  */
11813498266Sopenharmony_ci/* #define NEED_MALLOC_H 1 */
11913498266Sopenharmony_ci
12013498266Sopenharmony_ci/* Define if you have the <netdb.h> header file. */
12113498266Sopenharmony_ci#define HAVE_NETDB_H
12213498266Sopenharmony_ci
12313498266Sopenharmony_ci/* Define if you have the <netinet/in.h> header file. */
12413498266Sopenharmony_ci#define HAVE_NETINET_IN_H
12513498266Sopenharmony_ci
12613498266Sopenharmony_ci/* Define if you have the <net/if.h> header file. */
12713498266Sopenharmony_ci#define HAVE_NET_IF_H
12813498266Sopenharmony_ci
12913498266Sopenharmony_ci/* Define if you have the <pwd.h> header file. */
13013498266Sopenharmony_ci#undef HAVE_PWD_H
13113498266Sopenharmony_ci
13213498266Sopenharmony_ci/* Define if you have the `select' function. */
13313498266Sopenharmony_ci#define HAVE_SELECT
13413498266Sopenharmony_ci
13513498266Sopenharmony_ci/* Define if you have the `sigaction' function. */
13613498266Sopenharmony_ci#undef HAVE_SIGACTION
13713498266Sopenharmony_ci
13813498266Sopenharmony_ci/* Define if you have the `signal' function. */
13913498266Sopenharmony_ci#define HAVE_SIGNAL
14013498266Sopenharmony_ci
14113498266Sopenharmony_ci/* Define if you have the `socket' function. */
14213498266Sopenharmony_ci#define HAVE_SOCKET
14313498266Sopenharmony_ci
14413498266Sopenharmony_ci/* Define if you have the `strcasecmp' function. */
14513498266Sopenharmony_ci#undef HAVE_STRCASECMP
14613498266Sopenharmony_ci
14713498266Sopenharmony_ci/* Define if you have the `strcmpi' function. */
14813498266Sopenharmony_ci#undef HAVE_STRCMPI
14913498266Sopenharmony_ci
15013498266Sopenharmony_ci/* Define if you have the `strdup' function. */
15113498266Sopenharmony_ci#define HAVE_STRDUP
15213498266Sopenharmony_ci
15313498266Sopenharmony_ci/* Define if you have the `stricmp' function. */
15413498266Sopenharmony_ci#define HAVE_STRICMP
15513498266Sopenharmony_ci
15613498266Sopenharmony_ci/* Define if you have the <strings.h> header file. */
15713498266Sopenharmony_ci#undef HAVE_STRINGS_H
15813498266Sopenharmony_ci
15913498266Sopenharmony_ci/* Define if you have the `strtok_r' function. */
16013498266Sopenharmony_ci#undef HAVE_STRTOK_R
16113498266Sopenharmony_ci
16213498266Sopenharmony_ci/* Define if you have the `strtoll' function. */
16313498266Sopenharmony_ci#undef HAVE_STRTOLL
16413498266Sopenharmony_ci
16513498266Sopenharmony_ci/* Define if you have the <sys/param.h> header file. */
16613498266Sopenharmony_ci#undef HAVE_SYS_PARAM_H
16713498266Sopenharmony_ci
16813498266Sopenharmony_ci/* Define if you have the <sys/select.h> header file. */
16913498266Sopenharmony_ci#undef HAVE_SYS_SELECT_H
17013498266Sopenharmony_ci
17113498266Sopenharmony_ci/* Define if you have the <sys/socket.h> header file. */
17213498266Sopenharmony_ci#define HAVE_SYS_SOCKET_H
17313498266Sopenharmony_ci
17413498266Sopenharmony_ci/* Define if you have the <sys/sockio.h> header file. */
17513498266Sopenharmony_ci#undef HAVE_SYS_SOCKIO_H
17613498266Sopenharmony_ci
17713498266Sopenharmony_ci/* Define if you have the <sys/stat.h> header file. */
17813498266Sopenharmony_ci#undef HAVE_SYS_STAT_H
17913498266Sopenharmony_ci
18013498266Sopenharmony_ci/* Define if you have the <sys/time.h> header file. */
18113498266Sopenharmony_ci#define HAVE_SYS_TIME_H
18213498266Sopenharmony_ci
18313498266Sopenharmony_ci/* Define if you have the <sys/types.h> header file. */
18413498266Sopenharmony_ci#define HAVE_SYS_TYPES_H
18513498266Sopenharmony_ci
18613498266Sopenharmony_ci/* Define if you have the <termios.h> header file. */
18713498266Sopenharmony_ci#define HAVE_TERMIOS_H
18813498266Sopenharmony_ci
18913498266Sopenharmony_ci/* Define if you have the <termio.h> header file. */
19013498266Sopenharmony_ci#undef HAVE_TERMIO_H
19113498266Sopenharmony_ci
19213498266Sopenharmony_ci/* Define if you have the <unistd.h> header file. */
19313498266Sopenharmony_ci#define HAVE_UNISTD_H
19413498266Sopenharmony_ci
19513498266Sopenharmony_ci/* Name of package */
19613498266Sopenharmony_ci#undef PACKAGE
19713498266Sopenharmony_ci
19813498266Sopenharmony_ci/* The size of `int', as computed by sizeof. */
19913498266Sopenharmony_ci#define SIZEOF_INT 4
20013498266Sopenharmony_ci
20113498266Sopenharmony_ci/* The size of `long long', as computed by sizeof. */
20213498266Sopenharmony_ci#undef SIZEOF_LONG_LONG
20313498266Sopenharmony_ci
20413498266Sopenharmony_ci/* The size of `size_t', as computed by sizeof. */
20513498266Sopenharmony_ci#define SIZEOF_SIZE_T 4
20613498266Sopenharmony_ci
20713498266Sopenharmony_ci/* Define if you have the ANSI C header files. */
20813498266Sopenharmony_ci#undef STDC_HEADERS
20913498266Sopenharmony_ci
21013498266Sopenharmony_ci/* Version number of package */
21113498266Sopenharmony_ci#undef VERSION
21213498266Sopenharmony_ci
21313498266Sopenharmony_ci/* Define if on AIX 3.
21413498266Sopenharmony_ci   System headers sometimes define this.
21513498266Sopenharmony_ci   We just want to avoid a redefinition error message.  */
21613498266Sopenharmony_ci#ifndef _ALL_SOURCE
21713498266Sopenharmony_ci# undef _ALL_SOURCE
21813498266Sopenharmony_ci#endif
21913498266Sopenharmony_ci
22013498266Sopenharmony_ci/* Number of bits in a file offset, on hosts where this is settable. */
22113498266Sopenharmony_ci#undef _FILE_OFFSET_BITS
22213498266Sopenharmony_ci
22313498266Sopenharmony_ci/* Define for large files, on AIX-style hosts. */
22413498266Sopenharmony_ci#undef _LARGE_FILES
22513498266Sopenharmony_ci
22613498266Sopenharmony_ci/* Define to empty if `const' does not conform to ANSI C. */
22713498266Sopenharmony_ci#undef const
22813498266Sopenharmony_ci
22913498266Sopenharmony_ci/* Define to `unsigned' if <sys/types.h> does not define. */
23013498266Sopenharmony_ci#undef size_t
23113498266Sopenharmony_ci
23213498266Sopenharmony_ci/* Define to `int' if <sys/types.h> does not define. */
23313498266Sopenharmony_ci#undef ssize_t
23413498266Sopenharmony_ci
23513498266Sopenharmony_ci/* Define if you have a working ioctl FIONBIO function. */
23613498266Sopenharmony_ci#define HAVE_IOCTL_FIONBIO
23713498266Sopenharmony_ci
23813498266Sopenharmony_ci/* to disable LDAP */
23913498266Sopenharmony_ci#define CURL_DISABLE_LDAP
24013498266Sopenharmony_ci
24113498266Sopenharmony_ci/* Define if you have the recv function. */
24213498266Sopenharmony_ci#define HAVE_RECV 1
24313498266Sopenharmony_ci
24413498266Sopenharmony_ci/* Define to the type of arg 1 for recv. */
24513498266Sopenharmony_ci#define RECV_TYPE_ARG1 int
24613498266Sopenharmony_ci
24713498266Sopenharmony_ci/* Define to the type of arg 2 for recv. */
24813498266Sopenharmony_ci#define RECV_TYPE_ARG2 void *
24913498266Sopenharmony_ci
25013498266Sopenharmony_ci/* Define to the type of arg 3 for recv. */
25113498266Sopenharmony_ci#define RECV_TYPE_ARG3 size_t
25213498266Sopenharmony_ci
25313498266Sopenharmony_ci/* Define to the type of arg 4 for recv. */
25413498266Sopenharmony_ci#define RECV_TYPE_ARG4 int
25513498266Sopenharmony_ci
25613498266Sopenharmony_ci/* Define to the function return type for recv. */
25713498266Sopenharmony_ci#define RECV_TYPE_RETV ssize_t
25813498266Sopenharmony_ci
25913498266Sopenharmony_ci/* Define if you have the send function. */
26013498266Sopenharmony_ci#define HAVE_SEND 1
26113498266Sopenharmony_ci
26213498266Sopenharmony_ci/* Define to the type of arg 1 for send. */
26313498266Sopenharmony_ci#define SEND_TYPE_ARG1 int
26413498266Sopenharmony_ci
26513498266Sopenharmony_ci/* Define to the type qualifier of arg 2 for send. */
26613498266Sopenharmony_ci#define SEND_QUAL_ARG2 const
26713498266Sopenharmony_ci
26813498266Sopenharmony_ci/* Define to the type of arg 2 for send. */
26913498266Sopenharmony_ci#define SEND_TYPE_ARG2 void *
27013498266Sopenharmony_ci
27113498266Sopenharmony_ci/* Define to the type of arg 3 for send. */
27213498266Sopenharmony_ci#define SEND_TYPE_ARG3 size_t
27313498266Sopenharmony_ci
27413498266Sopenharmony_ci/* Define to the type of arg 4 for send. */
27513498266Sopenharmony_ci#define SEND_TYPE_ARG4 int
27613498266Sopenharmony_ci
27713498266Sopenharmony_ci/* Define to the function return type for send. */
27813498266Sopenharmony_ci#define SEND_TYPE_RETV ssize_t
27913498266Sopenharmony_ci
28013498266Sopenharmony_ci#endif /* HEADER_CURL_CONFIG_RISCOS_H */
281