]> sjero.net Git - wget/blob - windows/config.h.ms
[svn] Remove the "rbuf" buffering layer. Provide peeking primitives instead.
[wget] / windows / config.h.ms
1 /* Configuration header file.
2    Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
3
4    This program is free software; you can redistribute it and/or modify
5    it under the terms of the GNU General Public License as published by
6    the Free Software Foundation; either version 2 of the License, or
7    (at your option) any later version.
8
9    This program is distributed in the hope that it will be useful,
10    but WITHOUT ANY WARRANTY; without even the implied warranty of
11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12    GNU General Public License for more details.
13
14    You should have received a copy of the GNU General Public License
15    along with this program; if not, write to the Free Software
16    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
18    In addition, as a special exception, the Free Software Foundation
19    gives permission to link the code of its release of Wget with the
20    OpenSSL project's "OpenSSL" library (or with modified versions of it
21    that use the same license as the "OpenSSL" library), and distribute
22    the linked executables.  You must obey the GNU General Public License
23    in all respects for all of the code used other than "OpenSSL".  If you
24    modify this file, you may extend this exception to your version of the
25    file, but you are not obligated to do so.  If you do not wish to do
26    so, delete this exception statement from your version.  */
27
28
29 #ifndef CONFIG_H
30 #define CONFIG_H
31
32 /* Define if you have the <alloca.h> header file.  */
33 #undef HAVE_ALLOCA_H
34
35 /* Define to empty if the keyword does not work.  */
36 /* #undef const */
37
38 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
39 /* #undef size_t */
40
41 /* Define if you have the ANSI C header files.  */
42 #define STDC_HEADERS 1
43
44 /* Define as the return type of signal handlers (int or void).  */
45 #define RETSIGTYPE int
46
47 /* Define if your architecture is big endian (with the most
48    significant byte first).  */
49 #undef WORDS_BIGENDIAN
50
51 /* Define if you want the FTP support for Opie compiled in.  */
52 #define USE_OPIE 1
53
54 /* Define if you want the HTTP Digest Authorization compiled in.  */
55 #define USE_DIGEST 1
56
57 /* Define if you want the debug output support compiled in.  */
58 #define ENABLE_DEBUG
59
60 /* Define if you have sys/time.h header. */
61 #undef HAVE_SYS_TIME_H
62
63 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
64 #undef TIME_WITH_SYS_TIME
65
66 /* Define if you have struct utimbuf.  */
67 #define HAVE_STRUCT_UTIMBUF 1
68
69 /* Define if you have the gethostbyname function.  */
70 /* #undef HAVE_GETHOSTBYNAME */
71
72 /* Define if you have the uname function.  */
73 #undef HAVE_UNAME
74
75 /* Define if you have the gethostname function.  */
76 #define HAVE_GETHOSTNAME 1
77
78 /* Define if you have the select function.  */
79 #define HAVE_SELECT 1
80
81 /* Define if you have the gettimeofday function.  */
82 #undef HAVE_GETTIMEOFDAY
83
84 /* Define if you have the strdup function.  */
85 #define HAVE_STRDUP 1
86
87 /* Define if you have the sys/utsname.h header. */
88 #undef HAVE_SYS_UTSNAME_H
89
90 /* Define if you have the strerror function. */
91 #define HAVE_STRERROR 1
92
93 /* Define if you have the snprintf function.  */
94 #define HAVE_SNPRINTF
95
96 /* Define if you have the vsnprintf function.  */
97 #define HAVE_VSNPRINTF
98
99 /* Define if you have the strstr function. */
100 #define HAVE_STRSTR 1
101
102 /* Define if you have the strcasecmp function. */
103 #define HAVE_STRCASECMP 1
104
105 /* Define if you have the strncasecmp function. */
106 #define HAVE_STRNCASECMP 1
107
108 /* Define if you have the strptime function. */
109 #undef HAVE_STRPTIME
110
111 /* Define if you have the mktime function. */
112 #define HAVE_MKTIME 1
113
114 /* Define if you have the symlink function. */
115 #undef HAVE_SYMLINK
116
117 /* Define if you have the signal function. */
118 #undef HAVE_SIGNAL
119
120 /* Define if you have the <stdarg.h> header file.  */
121 #define HAVE_STDARG_H 1
122
123 /* Use ANSI-style stdargs regardless of whether the compiler bothers
124    to define __STDC__.  (Many don't when extensions are enabled.)
125    This define used to be in mswindows.h, but wheren't making any use there */
126 #define WGET_USE_STDARG
127
128 /* Define if you have the <stdlib.h> header file.  */
129 #define HAVE_STDLIB_H 1
130
131 /* Define if you have the <string.h> header file.  */
132 #define HAVE_STRING_H 1
133
134 /* Define if you have the <unistd.h> header file.  */
135 #if !defined(_MSC_VER)
136 #undef HAVE_UNISTD_H
137 #endif
138
139 /* None except Digital Mars have sleep/usleep functions */
140 #if defined(__DMC__)
141 #define HAVE_USLEEP
142 #define HAVE_SLEEP
143 #endif
144
145 /* Define if you have the <utime.h> header file.  */
146 #undef HAVE_UTIME_H
147
148 /* Define if you have the <sys/utime.h> header file.  */
149 #define HAVE_SYS_UTIME_H 1
150
151 /* Define if you have the <sys/select.h> header file.  */
152 #undef HAVE_SYS_SELECT_H
153
154 /* Define if you have the <pwd.h> header file.  */
155 #undef HAVE_PWD_H
156
157 /* Define if you have the <signal.h> header file.  */
158 #define HAVE_SIGNAL_H
159
160 /* Define to be the name of the operating system.  */
161 #define OS_TYPE "Windows"
162
163 #define CTRLBREAK_BACKGND 1
164
165 /* Define if you wish to compile with socks support.  */
166 /* #undef HAVE_SOCKS */
167
168 /* Define to 1 if ANSI function prototypes are usable.  */
169 #define PROTOTYPES 1
170
171 /* Define if we're compiling in support for MD5.  */
172 #define HAVE_MD5 1
173
174 /* Define if we're using Solaris libmd5.  */
175 #undef HAVE_SOLARIS_MD5
176
177 /* Define if we're using builtin (GNU) md5.c.  */
178 #define HAVE_BUILTIN_MD5 1
179
180 /* Work around VC 6 issues */
181 #define inline __inline
182 #define ftruncate chsize
183
184 /* Define if you have the isatty function.  */
185 #define HAVE_ISATTY 1
186
187 /* Define if you have the memmove function */
188 #define HAVE_MEMMOVE 1
189
190 /* Define to the length of short. */
191 #define SIZEOF_SHORT 2
192
193 /* Define to the length of int. */
194 #define SIZEOF_INT 4
195
196 /* Define to the length of long. */
197 #define SIZEOF_LONG 4
198
199 /* Defined to int or size_t on systems without socklen_t.  */
200 #define socklen_t int
201
202 /* Define if you have uint32_t.  */
203 #undef HAVE_UINT32_T
204
205 #endif /* CONFIG_H */