]> sjero.net Git - wget/blob - windows/config.h.ms
27aba5874fadc6227e6b52c4dc45e86450cf8413
[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 /* MS Visual C does not define __STDC__ when the MSC extensions are
33    enabled, but you need those extensions to compile <windows.h>.  */
34 #if !defined(__STDC__) && defined(_MSC_EXTENSIONS)
35 # define __STDC__ 1
36 #endif
37
38 /* Setting __STDC__ causes MSVC to break other stuff... */
39 #if __STDC__ && defined(_MSC_VER)
40 # define utimbuf _utimbuf
41 # define O_RDONLY _O_RDONLY
42 # define alloca _alloca
43 #endif
44
45 /* Define if you have the <alloca.h> header file.  */
46 #undef HAVE_ALLOCA_H
47
48 /* Microsoft and Watcom libraries have an alloca function. */
49 char *alloca ();
50
51 /* Define to empty if the keyword does not work.  */
52 /* #undef const */
53
54 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
55 /* #undef size_t */
56
57 /* Define if you have the ANSI C header files.  */
58 #define STDC_HEADERS 1
59
60 /* Define as the return type of signal handlers (int or void).  */
61 #define RETSIGTYPE int
62
63 /* Define if your architecture is big endian (with the most
64    significant byte first).  */
65 #undef WORDS_BIGENDIAN
66
67 /* Define this if you want the NLS support.  */
68 #undef ENABLE_NLS
69
70 /* Define if you want the FTP support for Opie compiled in.  */
71 #define USE_OPIE 1
72
73 /* Define if you want the HTTP Digest Authorization compiled in.  */
74 #define USE_DIGEST 1
75
76 /* Define if you want the debug output support compiled in.  */
77 #define DEBUG
78
79 /* Define if you have sys/time.h header. */
80 #undef HAVE_SYS_TIME_H
81
82 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
83 #undef TIME_WITH_SYS_TIME
84
85 /* Define if you have struct utimbuf.  */
86 #define HAVE_STRUCT_UTIMBUF 1
87
88 /* Define if you have the gethostbyname function.  */
89 /* #undef HAVE_GETHOSTBYNAME */
90
91 /* Define if you have the uname function.  */
92 #undef HAVE_UNAME
93
94 /* Define if you have the gethostname function.  */
95 #define HAVE_GETHOSTNAME 1
96
97 /* Define if you have the select function.  */
98 #define HAVE_SELECT 1
99
100 /* Define if you have the gettimeofday function.  */
101 #undef HAVE_GETTIMEOFDAY
102
103 /* Define if you have the strdup function.  */
104 #define HAVE_STRDUP 1
105
106 /* Define if you have the sys/utsname.h header. */
107 #undef HAVE_SYS_UTSNAME_H
108
109 /* Define if you have the strerror function. */
110 #define HAVE_STRERROR 1
111
112 /* Define if you have the snprintf function.  */
113 #undef HAVE_SNPRINTF
114
115 /* Define if you have the vsnprintf function.  */
116 #undef HAVE_VSNPRINTF
117
118 /* Define if you have the strstr function. */
119 #define HAVE_STRSTR 1
120
121 /* Define if you have the strcasecmp function. */
122 #define HAVE_STRCASECMP 1
123
124 /* Define if you have the strncasecmp function. */
125 #define HAVE_STRNCASECMP 1
126
127 /* Define if you have the strptime function. */
128 #undef HAVE_STRPTIME
129
130 /* Define if you have the mktime function. */
131 #define HAVE_MKTIME 1
132
133 /* Define if you have the symlink function. */
134 #undef HAVE_SYMLINK
135
136 /* Define if you have the signal function. */
137 #undef HAVE_SIGNAL
138
139 /* Define if you have the <stdarg.h> header file.  */
140 #define HAVE_STDARG_H 1
141
142 /* Define if you have the <stdlib.h> header file.  */
143 #define HAVE_STDLIB_H 1
144
145 /* Define if you have the <string.h> header file.  */
146 #define HAVE_STRING_H 1
147
148 /* Define if you have the <unistd.h> header file.  */
149 /* #define HAVE_UNISTD_H 1 */
150 #undef HAVE_UNISTD_H
151
152 /* Define if you have the <utime.h> header file.  */
153 #undef HAVE_UTIME_H
154
155 /* Define if you have the <sys/utime.h> header file.  */
156 #define HAVE_SYS_UTIME_H 1
157
158 /* Define if you have the <sys/select.h> header file.  */
159 #undef HAVE_SYS_SELECT_H
160
161 /* Define if you have the <pwd.h> header file.  */
162 #undef HAVE_PWD_H
163
164 /* Define if you have the <signal.h> header file.  */
165 #undef HAVE_SIGNAL_H
166
167 /* Define to be the name of the operating system.  */
168 #define OS_TYPE "Windows"
169
170 #define CTRLBREAK_BACKGND 1
171
172 /* Define if you wish to compile with socks support.  */
173 /* #undef HAVE_SOCKS */
174
175 /* Define to 1 if ANSI function prototypes are usable.  */
176 #define PROTOTYPES 1
177
178 /* Define if we're compiling in support for MD5.  */
179 #define HAVE_MD5 1
180
181 /* Define if we're using Solaris libmd5.  */
182 #undef HAVE_SOLARIS_MD5
183
184 /* Define if we're using builtin (GNU) md5.c.  */
185 #define HAVE_BUILTIN_MD5 1
186
187 /* Work around VC 6 issues */
188 #define inline __inline
189 #define ftruncate chsize
190
191 /* Define if you have the isatty function.  */
192 #define HAVE_ISATTY 1
193
194 #endif /* CONFIG_H */
195