18dc1b3c3db5c149acc1c50b846db87f7b00a1d4
[openafs.git] / src / config / afsconfig-windows.h
1 /* src/config/afsconfig.h.in.  Generated automatically from configure.in by autoheader.  */
2 /* Modified for Win2000 build*/
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 have <sys/wait.h> that is POSIX.1 compatible.  */
15 #undef HAVE_SYS_WAIT_H
16
17 /* Define as __inline if that's what the C compiler calls it.  */
18 #define inline __inline
19
20 /* Define if on MINIX.  */
21 #undef _MINIX
22
23 /* Define to `int' if <sys/types.h> doesn't define.  */
24 #undef pid_t
25
26 /* Define if the system does not provide POSIX.1 features except
27    with this defined.  */
28 #undef _POSIX_1_SOURCE
29
30 /* Define if you need to in order for stat and other things to work.  */
31 #undef _POSIX_SOURCE
32
33 /* Define as the return type of signal handlers (int or void).  */
34 #undef RETSIGTYPE
35
36
37 /* The size of `long', as computed by sizeof. */
38 #define SIZEOF_LONG 4
39
40 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
41 //#undef size_t unsigned int
42
43 /* Define if you have the ANSI C header files.  */
44 #undef STDC_HEADERS
45
46 /* Define if lex declares yytext as a char * by default, not a char[].  */
47 #undef YYTEXT_POINTER
48
49 /* Define if you have the connect function.  */
50 #undef HAVE_CONNECT
51
52 /* Define if you have the error_message function.  */
53 #define HAVE_ERROR_MESSAGE
54
55 /* Define if you have the gethostbyname function.  */
56 #define HAVE_GETHOSTBYNAME
57
58 /* Define if you have the res_search function.  */
59 #undef HAVE_RES_SEARCH
60
61 /* Define if you have the socket function.  */
62 #define HAVE_SOCKET
63
64 /* Define if you have the <direct.h> header file.  */
65 #undef HAVE_DIRECT_H
66
67 /* Define if you have the <dirent.h> header file.  */
68 #define HAVE_DIRENT_H 1
69
70 /* Define if you have the <fcntl.h> header file.  */
71 #define HAVE_FCNTL_H
72
73 /* Define if you have the <mntent.h> header file.  */
74 #undef HAVE_MNTENT_H
75
76 /* Define if you have the <ndir.h> header file.  */
77 #undef HAVE_NDIR_H
78
79 /* Define if you have the <netdb.h> header file.  */
80 #undef HAVE_NETDB_H
81
82 /* Define if you have the <netinet/in.h> header file.  */
83 #undef HAVE_NETINET_IN_H
84
85 /* Define if you have the <security/pam_modules.h> header file.  */
86 #undef HAVE_SECURITY_PAM_MODULES_H
87
88 /* Define if you have the <signal.h> header file.  */
89 #define HAVE_SIGNAL_H
90
91 /* Define if you have the <stdlib.h> header file.  */
92 #define HAVE_STDLIB_H
93
94 /* Define if you have the <string.h> header file.  */
95 #define HAVE_STRING_H
96
97 /* Define if you have the <strings.h> header file.  */
98 #undef HAVE_STRINGS_H
99
100 /* Define if you have the <sys/dir.h> header file.  */
101 #undef HAVE_SYS_DIR_H
102
103 /* Define if you have the <sys/fcntl.h> header file.  */
104 #define HAVE_SYS_FCNTL_H
105
106 /* Define if you have the <sys/file.h> header file.  */
107 #undef HAVE_SYS_FILE_H
108
109 /* Define if you have the <sys/fs_types.h> header file.  */
110 #undef HAVE_SYS_FS_TYPES_H
111
112 /* Define if you have the <sys/mntent.h> header file.  */
113 #undef HAVE_SYS_MNTENT_H
114
115 /* Define if you have the <sys/mnttab.h> header file.  */
116 #undef HAVE_SYS_MNTTAB_H
117
118 /* Define if you have the <sys/mount.h> header file.  */
119 #undef HAVE_SYS_MOUNT_H
120
121 /* Define if you have the <sys/ndir.h> header file.  */
122 #undef HAVE_SYS_NDIR_H
123
124 /* Define if you have the <sys/param.h> header file.  */
125 #undef HAVE_SYS_PARAM_H
126
127 /* Define if you have the <sys/time.h> header file.  */
128 #undef HAVE_SYS_TIME_H
129
130 /* Define if you have the <sys/vfs.h> header file.  */
131 #undef HAVE_SYS_VFS_H
132
133 /* Define if you have the <termios.h> header file.  */
134 #undef HAVE_TERMIOS_H
135
136 /* Define if you have the <unistd.h> header file.  */
137 #undef HAVE_UNISTD_H
138
139 /* Define if you have the <windows.h> header file.  */
140 #define HAVE_WINDOWS_H
141
142 /* Define if you have the <winsock2.h> header file.  */
143 #define HAVE_WINSOCK2_H
144
145 #define HAVE_WINSOCK
146
147 /* Name of package */
148 #undef PACKAGE
149
150 /* Version number of package */
151 #undef VERSION
152
153 /* define if target is big endian */
154 #undef WORDS_BIGENDIAN
155
156 /* define if sys/param.h defines the endiness */
157 #undef ENDIANESS_IN_SYS_PARAM_H
158
159 /* define if struct ufsvfs has vfs_dqrwlock */
160 #undef HAVE_VFS_DQRWLOCK
161
162 /* define if you have pread() and pwrite() */
163 #define HAVE_PIO 1
164
165 #undef PACKAGE
166 #undef VERSION
167
168 #undef HAVE_CONNECT
169 //#undef HAVE_GETHOSTBYNAME
170 #undef HAVE_RES_SEARCH
171 //#undef HAVE_SOCKET
172
173 #ifdef ENDIANESS_IN_SYS_PARAM_H
174 # ifndef KERNEL
175 #  include <sys/types.h>
176 #  include <sys/param.h>
177 #  if BYTE_ORDER == BIG_ENDIAN
178 #  define WORDS_BIGENDIAN 1
179 #  endif
180 # endif
181 #endif
182
183 #define AFS_NAMEI_ENV 1
184
185 #undef FAST_RESTART
186 #undef BITMAP_LATER
187
188 #undef INODE_SETATTR_NOT_VOID
189 #undef STRUCT_INODE_HAS_I_BYTES
190 #undef STRUCT_ADDRESS_SPACE_HAS_PAGE_LOCK
191
192 /* glue for RedHat kernel bug */
193 #undef ENABLE_REDHAT_BUILDSYS
194
195 #if defined(ENABLE_REDHAT_BUILDSYS) && defined(KERNEL) && defined(REDHAT_FIX)
196 #include "redhat-fix.h"
197 #endif
198
199 /* Windows does not provide socklen_t prior to WDK 6.0 */
200 #undef HAVE_SOCKLEN_T
201
202 #if (_MSC_VER < 1400)
203 typedef int errno_t;
204 #endif
205
206 /* Windows only supports BSD variants */
207 #define S_IRUSR _S_IREAD
208 #define S_IWUSR _S_IWRITE
209
210
211 #define HAVE_CONIO_H 1
212
213 #define HAVE_FSYNC 1
214
215 /* param.h overrides lstat, so stop roken getting involved */
216 #define HAVE_LSTAT 1
217
218 #define HAVE_STRCASECMP 1
219
220 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
221
222 #define HAVE_DECL_H_ERRNO 1
223
224 #define HAVE_STRUCT_ADDRINFO 1
225 #define HAVE_GAI_STRERROR 1
226 #define HAVE_STRERROR 1
227 #define HAVE_STRLWR 1
228 #define HAVE_STRDUP 1
229 #define HAVE_GETHOSTNAME 1
230 #define HAVE_STRFTIME 1
231 #define HAVE_GETCWD 1
232 #define HAVE_STRUPR 1