~ubuntu-branches/ubuntu/natty/curl/natty-proposed

« back to all changes in this revision

Viewing changes to lib/config.dos

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Schuldei
  • Date: 2009-05-24 21:12:19 UTC
  • mfrom: (1.1.12 upstream)
  • mto: (3.3.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 39.
  • Revision ID: james.westby@ubuntu.com-20090524211219-7jgcwuhl04ixuqsm
Tags: upstream-7.19.5
ImportĀ upstreamĀ versionĀ 7.19.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
/* lib/config.dos - Hand crafted config file for MSDOS.
5
5
 *
6
 
 * $Id: config.dos,v 1.12 2007-04-03 10:18:38 giva Exp $
 
6
 * $Id: config.dos,v 1.27 2009-05-02 02:37:34 yangtse Exp $
7
7
 */
8
8
#if defined(DJGPP)
9
9
  #define OS  "MSDOS/djgpp"
19
19
 
20
20
#define HAVE_ARPA_INET_H       1
21
21
#define HAVE_FCNTL_H           1
22
 
#define HAVE_FIONBIO           1
 
22
#define HAVE_GETADDRINFO       1
 
23
#define HAVE_GETNAMEINFO       1
23
24
#define HAVE_GETPROTOBYNAME    1
24
25
#define HAVE_GETTIMEOFDAY      1
25
26
#define HAVE_IO_H              1
 
27
#define HAVE_IOCTL             1
 
28
#define HAVE_IOCTL_FIONBIO     1
26
29
#define HAVE_IOCTLSOCKET       1
27
 
#define HAVE_INET_PTON         1
28
 
#define HAVE_INET_NTOP         1
 
30
#define HAVE_IOCTLSOCKET_FIONBIO   1
 
31
#define HAVE_LIMITS_H          1
29
32
#define HAVE_LOCALE_H          1
30
33
#define HAVE_LONGLONG          1
31
34
#define HAVE_MEMORY_H          1
35
38
#define HAVE_NET_IF_H          1
36
39
#define HAVE_PROCESS_H         1
37
40
#define HAVE_RECV              1
 
41
#define HAVE_RECVFROM          1
38
42
#define HAVE_SELECT            1
39
43
#define HAVE_SEND              1
40
44
#define HAVE_SETJMP_H          1
47
51
#define HAVE_STRICMP           1
48
52
#define HAVE_STRTOLL           1
49
53
#define HAVE_STRUCT_TIMEVAL    1
 
54
#define HAVE_STRUCT_IN6_ADDR   1
50
55
#define HAVE_SYS_IOCTL_H       1
51
56
#define HAVE_SYS_SOCKET_H      1
52
57
#define HAVE_SYS_STAT_H        1
59
64
 
60
65
#define RETSIGTYPE             void
61
66
#define SIZEOF_LONG_DOUBLE     16
62
 
#define SIZEOF_CURL_OFF_T      4   /* no huge file support */
63
67
#define STDC_HEADERS           1
64
68
#define TIME_WITH_SYS_TIME     1
65
69
 
66
 
/* Qualifiers for send() and recv().
67
 
 */
 
70
/* Qualifiers for send(), recv(), recvfrom() and getnameinfo(). */
 
71
 
68
72
#define SEND_TYPE_ARG1         int
69
73
#define SEND_QUAL_ARG2         const
70
74
#define SEND_TYPE_ARG2         void *
78
82
#define RECV_TYPE_ARG4         int
79
83
#define RECV_TYPE_RETV         int
80
84
 
 
85
#define RECVFROM_TYPE_ARG1     int
 
86
#define RECVFROM_TYPE_ARG2     void
 
87
#define RECVFROM_TYPE_ARG3     int
 
88
#define RECVFROM_TYPE_ARG4     int
 
89
#define RECVFROM_TYPE_ARG5     struct sockaddr
 
90
#define RECVFROM_TYPE_ARG6     int
 
91
#define RECVFROM_TYPE_RETV     int
 
92
#define RECVFROM_TYPE_ARG2_IS_VOID 1
 
93
 
 
94
#define GETNAMEINFO_QUAL_ARG1  const
 
95
#define GETNAMEINFO_TYPE_ARG1  struct sockaddr *
 
96
#define GETNAMEINFO_TYPE_ARG2  int
 
97
#define GETNAMEINFO_TYPE_ARG46 int
 
98
#define GETNAMEINFO_TYPE_ARG7  int
81
99
 
82
100
#define BSD
83
101
 
89
107
#endif
90
108
 
91
109
#ifdef USE_SSLEAY   /* on cmd-line */
 
110
  #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
92
111
  #define HAVE_OPENSSL_ENGINE_H  1
93
112
  #define OPENSSL_NO_KRB5        1
94
113
  #define USE_OPENSSL            1
98
117
#define CURL_DISABLE_LDAP        1
99
118
 
100
119
#define in_addr_t  u_long
101
 
#define socklen_t  int
102
120
 
103
121
#if defined(__HIGHC__) || \
104
122
    (defined(__GNUC__) && __GNUC__ < 4)   /* gcc 4.x built-in ? */
133
151
  #define HAVE_SYS_TIME_H 1
134
152
#endif
135
153
 
136
 
#include <stdlib.h>
137
 
#include <string.h>
138
 
#include <tcp.h>    /* Watt-32 API */
139
 
 
140
154
#undef word
141
155
#undef byte
142
156