1
#ifndef _CURL_CONFIG_DJGPP_H
2
#define _CURL_CONFIG_DJGPP_H
4
/* lib/config.dj - Hand crafted config file for DJGPP.
6
* $Id: config.dj,v 1.19 2006-07-12 13:57:18 giva Exp $
8
#define OS "MSDOS/djgpp"
11
#define CURL_CA_BUNDLE "/dev/env/CURL_CA_BUNDLE"
13
#if (DJGPP_MINOR >= 4)
14
/* #define HAVE_DLOPEN 1 maybe not (DXE3) */
17
#define HAVE_ASSERT_T 1
18
#define HAVE_ARPA_INET_H 1
19
#define HAVE_BASENAME 1
20
#define HAVE_CLOSESOCKET 1
21
#define HAVE_FCNTL_H 1
22
#define HAVE_FIONBIO 1
23
#define HAVE_GETHOSTBYADDR 1
24
#define HAVE_GETHOSTNAME 1
25
#define HAVE_GETPASS 1
26
#define HAVE_GETSERVBYNAME 1
27
#define HAVE_GETPROTOBYNAME 1
28
#define HAVE_GETTIMEOFDAY 1
29
#define HAVE_INET_ADDR 1
30
#define HAVE_INET_NTOA 1
32
#define HAVE_IOCTLSOCKET 1
33
#define HAVE_INET_PTON 1
34
#define HAVE_INET_NTOP 1
35
#define HAVE_LOCALE_H 1
36
#define HAVE_LONGLONG 1
37
#define HAVE_MALLOC_H 1
38
#define HAVE_MEMORY_H 1
39
#define HAVE_NETDB_H 1
40
#define HAVE_NETINET_IN_H 1
41
#define HAVE_NETINET_TCP_H 1
42
#define HAVE_NET_IF_H 1
43
#define HAVE_PROCESS_H 1
46
#define HAVE_SETJMP_H 1
47
#define HAVE_SETLOCALE 1
48
#define HAVE_SETVBUF 1
50
#define HAVE_SIGACTION 1
51
#define HAVE_SIGSETJMP 1
54
#define HAVE_STRCASECMP 1
56
#define HAVE_STRFTIME 1
57
#define HAVE_STRICMP 1
59
#define HAVE_STRTOLL 1
60
#define HAVE_SYS_IOCTL_H 1
61
#define HAVE_SYS_SOCKET_H 1
62
#define HAVE_SYS_STAT_H 1
63
#define HAVE_SYS_TYPES_H 1
64
#define HAVE_TERMIOS_H 1
67
#define HAVE_UNISTD_H 1
68
#define HAVE_VPRINTF 1
70
#define NEED_MALLOC_H 1
72
#if (DJGPP_MINOR >= 4)
73
#define HAVE_STRLCAT 1
76
#define RETSIGTYPE void
77
#define SIZEOF_LONG_DOUBLE 16
78
#define SIZEOF_CURL_OFF_T 4 /* no huge file support */
79
#define STDC_HEADERS 1
80
#define TIME_WITH_SYS_TIME 1
84
/* #define MALLOCDEBUG */
86
#ifdef USE_ZLIB /* on cmd-line */
91
#ifdef USE_SSLEAY /* on cmd-line */
92
#define HAVE_OPENSSL_X509_H 1
93
#define HAVE_OPENSSL_SSL_H 1
94
#define HAVE_OPENSSL_RSA_H 1
95
#define HAVE_OPENSSL_PEM_H 1
96
#define HAVE_OPENSSL_ERR_H 1
97
#define HAVE_OPENSSL_CRYPTO_H 1
98
#define HAVE_OPENSSL_ENGINE_H 1
100
#define HAVE_LIBCRYPTO 1
101
#define OPENSSL_NO_KRB5 1
102
#define USE_OPENSSL 1
105
/* to disable LDAP */
106
#define CURL_DISABLE_LDAP 1
108
/* Because djgpp <= 2.03 doesn't have snprintf() etc.
110
#if (DJGPP_MINOR < 4)
111
#define _MPRINTF_REPLACE
114
#define in_addr_t u_long
115
#define socklen_t int
117
#if __GNUC__ < 4 /* gcc 4.x built-in ? */
123
#include <tcp.h> /* Watt-32 API */
128
#endif /* _CURL_CONFIG_DJGPP_H */