1#ifndef CURL_CONFIG_AMIGAOS_H
2#define CURL_CONFIG_AMIGAOS_H
3/***************************************************************************
4 *                                  _   _ ____  _
5 *  Project                     ___| | | |  _ \| |
6 *                             / __| | | | |_) | |
7 *                            | (__| |_| |  _ <| |___
8 *                             \___|\___/|_| \_\_____|
9 *
10 * Copyright (C) 1998 - 2011, 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 http://curl.haxx.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 ***************************************************************************/
24
25#ifdef __AMIGA__ /* Any AmigaOS flavour */
26
27/* Define to 1 if you want the built-in manual */
28#define USE_MANUAL 1
29
30#define OS "AmigaOS"
31
32#define HAVE_CLOSESOCKET_CAMEL  1
33#define HAVE_ERRNO_H            1
34#define HAVE_UNISTD_H           1
35#define HAVE_STRDUP             1
36#define HAVE_UTIME              1
37#define HAVE_UTIME_H            1
38#define HAVE_SYS_TYPES_H        1
39#define HAVE_SYS_SOCKET_H       1
40#define HAVE_WRITABLE_ARGV      1
41#define HAVE_SYS_TIME_H         1
42#define HAVE_TIME_H             1
43#define TIME_WITH_SYS_TIME      1
44#define HAVE_STRUCT_TIMEVAL     1
45
46#if 0
47# define HAVE_TERMIOS_H         1
48# define HAVE_FTRUNCATE         1
49#endif
50
51#define HAVE_PWD_H              1
52
53#ifndef F_OK
54# define F_OK 0
55#endif
56#ifndef O_RDONLY
57# define	O_RDONLY	0x0000		/* open for reading only */
58#endif
59#ifndef LONG_MAX
60# define        LONG_MAX        0x7fffffffL             /* max value for a long */
61#endif
62#ifndef LONG_MIN
63# define        LONG_MIN        (-0x7fffffffL-1)        /* min value for a long */
64#endif
65
66#define SIZEOF_INT              4
67#define SIZEOF_SHORT            2
68
69#endif /* __AMIGA__ */
70#endif /* CURL_CONFIG_AMIGAOS_H */
71