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