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