make windows builds use the OS string "i386-pc-win32" instead of just "win32"
[platform/upstream/curl.git] / lib / config-win32.h
1 /* config.h.  Generated automatically by configure.  */
2 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
3
4 /* Define if on AIX 3.
5    System headers sometimes define this.
6    We just want to avoid a redefinition error message.  */
7 #ifndef _ALL_SOURCE
8 /* #undef _ALL_SOURCE */
9 #endif
10
11 /* Define to empty if the keyword does not work.  */
12 /* #undef const */
13
14 /* Define if you don't have vprintf but do have _doprnt.  */
15 /* #undef HAVE_DOPRNT */
16
17 /* Define if you have the vprintf function.  */
18 #define HAVE_VPRINTF 1
19
20 /* Define as the return type of signal handlers (int or void).  */
21 /*#define RETSIGTYPE void */
22
23 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
24 /* #undef size_t */
25
26 /* Define this to 'int' if ssize_t is not an available typedefed type */
27 #define ssize_t int
28
29 /* Define this to 'int' if socklen_t is not an available typedefed type */
30 #if !defined(ENABLE_IPV6) && ((_MSC_VER < 1300) || !defined(USE_SSLEAY))
31 #define socklen_t int
32 #endif
33
34 /* The size of a `curl_off_t', as computed by sizeof. */
35 #ifdef SIZEOF_CURL_OFF_T
36 #undef SIZEOF_CURL_OFF_T
37 #endif
38
39 #define SIZEOF_CURL_OFF_T 8
40
41 /* Define if you have the ANSI C header files.  */
42 #define STDC_HEADERS 1
43
44 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
45 /* #define TIME_WITH_SYS_TIME 1 */
46
47 /* Define cpu-machine-OS */
48 #define OS "i386-pc-win32"
49
50 /* The number of bytes in a long double.  */
51 #define SIZEOF_LONG_DOUBLE 16
52
53 /* The number of bytes in a long long.  */
54 /* #define SIZEOF_LONG_LONG 8 */
55
56 /* Define if you have the gethostbyaddr function.  */
57 #define HAVE_GETHOSTBYADDR 1
58
59 /* Define if you have the gethostname function.  */
60 #define HAVE_GETHOSTNAME 1
61
62 /* Define if you have the getpass function.  */
63 /*#define HAVE_GETPASS 1*/
64
65 /* Define if you have the getservbyname function.  */
66 #define HAVE_GETSERVBYNAME 1
67
68 /* Define if you have the gettimeofday function.  */
69 /*  #define HAVE_GETTIMEOFDAY 1 */
70
71 /* Define if you have the inet_addr function.  */
72 #define HAVE_INET_ADDR 1
73
74 /* Define if you have the inet_ntoa function.  */
75 #define HAVE_INET_NTOA 1
76
77 /* Define if you have the perror function.  */
78 #define HAVE_PERROR 1
79
80 /* Define if you have the select function.  */
81 #define HAVE_SELECT 1
82
83 /* Define if you have the socket function.  */
84 #define HAVE_SOCKET 1
85
86 /* Define if you have the strcasecmp function.  */
87 /*#define HAVE_STRCASECMP 1*/
88
89 /* Define if you have the stricmp function.  */
90 #define HAVE_STRICMP 1
91
92 /* Define if you have the strdup function.  */
93 #define HAVE_STRDUP 1
94
95 /* Define if you have the strftime function.  */
96 #define HAVE_STRFTIME 1
97
98 /* Define if you have the strstr function.  */
99 #define HAVE_STRSTR 1
100
101 /* Define if you have the strtoll function.  */
102 #ifdef MINGW32
103 #define HAVE_STRTOLL 1
104 #endif
105
106 /* Define if you have the tcgetattr function.  */
107 /*#define HAVE_TCGETATTR 1*/
108
109 /* Define if you have the tcsetattr function.  */
110 /*#define HAVE_TCSETATTR 1*/
111
112 /* Define if you have the uname function.  */
113 /*#define HAVE_UNAME 1*/
114
115 /* Define if you have utime() */
116 #define HAVE_UTIME 1
117
118 /* Define if you have the <alloca.h> header file.  */
119 /*#define HAVE_ALLOCA_H 1*/
120
121 /* Define if you have the malloc.h file.  */
122 #define HAVE_MALLOC_H 1
123
124 /* Define if you have the <arpa/inet.h> header file.  */
125 /* #define HAVE_ARPA_INET_H 1 */
126
127 /* Define if you have the <assert.h> header file.  */
128 #define HAVE_ASSERT_H 1
129
130 /* Define if you have the <crypto.h> header file.  */
131 /* #undef HAVE_CRYPTO_H */
132
133 /* Define if you have the <dlfcn.h> header file.  */
134 /*#define HAVE_DLFCN_H 1*/
135
136 /* Define if you have the <err.h> header file.  */
137 /* #undef HAVE_ERR_H */
138
139 /* Define if you have the <fcntl.h> header file.  */
140 #define HAVE_FCNTL_H 1
141
142 /* Define if you have the <getopt.h> header file.  */
143 /* #undef HAVE_GETOPT_H */
144
145 /* Define if you have the <netdb.h> header file.  */
146 /* #define HAVE_NETDB_H 1 */
147
148 /* Define if you have the <netinet/in.h> header file.  */
149 /*#define HAVE_NETINET_IN_H 1*/
150
151 /* Define if you have the <sgtty.h> header file.  */
152 /*#define HAVE_SGTTY_H 1*/
153
154 /* Define if you have the <ssl.h> header file.  */
155 /* #undef HAVE_SSL_H */
156
157 /* Define if you have the <sys/param.h> header file.  */
158 /*#define HAVE_SYS_PARAM_H 1*/
159
160 /* Define if you have the <sys/select.h> header file.  */
161 /*  #define HAVE_SYS_SELECT_H 1 */
162
163 /* Define if you have the <sys/socket.h> header file.  */
164 /*#define HAVE_SYS_SOCKET_H 1*/
165
166 /* Define if you have the <sys/sockio.h> header file.  */
167 /* #define HAVE_SYS_SOCKIO_H 1 */
168
169 /* Define if you have the <sys/stat.h> header file.  */
170 #define HAVE_SYS_STAT_H 1
171
172 /* Define if you have the <sys/utime.h> header file */
173 #define HAVE_SYS_UTIME_H 1
174
175 /* Define if you have the <sys/types.h> header file.  */
176 #define HAVE_SYS_TYPES_H 1
177
178 /* Define if you have the <termio.h> header file.  */
179 /* #define HAVE_TERMIO_H 1 */
180
181 /* Define if you have the <termios.h> header file.  */
182 /* #define HAVE_TERMIOS_H 1 */
183
184 /* Name of package */
185 #define PACKAGE "curl"
186
187 /* Define if you have the <io.h> header file.  */
188 #define HAVE_IO_H 1
189
190 /* Define if you have the <time.h> header file.  */
191 #define HAVE_TIME_H 1
192
193 /* Define if you have the <winsock.h> header file.  */
194 #define HAVE_WINSOCK_H 1
195
196 /* Define if you have the <winsock2.h> header file.  */
197 #define HAVE_WINSOCK2_H 1
198
199 /* Define if you have the <ws2tcpip.h> header file.  */
200 #define HAVE_WS2TCPIP_H 1
201
202 /* Define if you have the <stdlib.h> header file.  */
203 #define HAVE_STDLIB_H 1
204
205 /* Define if you have the closesocket function.  */
206 #define HAVE_CLOSESOCKET 1
207
208 /* Define if you have the setvbuf function.  */
209 #define HAVE_SETVBUF 1
210
211 /* Define if you have the RAND_screen function when using SSL  */
212 #define HAVE_RAND_SCREEN 1
213
214 /* Define if you have the `RAND_status' function. */
215 #define HAVE_RAND_STATUS 1
216
217 /* Define this to if in_addr_t is not an available typedefed type */
218 #define in_addr_t unsigned long
219
220 /* use ioctlsocket() for non-blocking sockets */
221 #define HAVE_IOCTLSOCKET
222
223 /*************************************************
224  * This section is for compiler specific defines.*
225  *************************************************/
226 #if defined(MINGW32) || defined(__WATCOMC__) /* Borland and MS don't have this */
227
228 /* Define if you have the <unistd.h> header file.  */
229 #define HAVE_UNISTD_H 1
230
231 #endif