1
/* DO NOT EDIT: automatically built by dist/s_win32. */
2
/* Define to 1 if you want to build a version for running the test suite. */
3
/* #undef CONFIG_TEST */
5
/* Define to 1 if you want a debugging version. */
13
/* Define to 1 if you want a version that logs read operations. */
14
/* #undef DEBUG_ROP */
16
/* Define to 1 if you want a version that logs write operations. */
17
/* #undef DEBUG_WOP */
19
/* Define to 1 if you want a version with run-time diagnostic checking. */
20
/* #undef DIAGNOSTIC */
22
/* Define to 1 if you have the `clock_gettime' function. */
23
/* #undef HAVE_CLOCK_GETTIME */
25
/* Define to 1 if Berkeley DB release includes strong cryptography. */
26
/* #undef HAVE_CRYPTO */
28
/* Define to 1 if you have the `directio' function. */
29
/* #undef HAVE_DIRECTIO */
31
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
33
/* #undef HAVE_DIRENT_H */
35
/* Define to 1 if you have the <dlfcn.h> header file. */
36
/* #undef HAVE_DLFCN_H */
38
/* Define to 1 if you have EXIT_SUCCESS/EXIT_FAILURE #defines. */
39
#define HAVE_EXIT_SUCCESS 1
41
/* Define to 1 if fcntl/F_SETFD denies child access to file descriptors. */
42
/* #undef HAVE_FCNTL_F_SETFD */
44
/* Define to 1 if allocated filesystem blocks are not zeroed. */
45
#define HAVE_FILESYSTEM_NOTZERO 1
47
/* Define to 1 if you have the `getcwd' function. */
50
/* Define to 1 if you have the `getopt' function. */
51
/* #undef HAVE_GETOPT */
53
/* Define to 1 if you have the `gettimeofday' function. */
54
/* #undef HAVE_GETTIMEOFDAY */
56
/* Define to 1 if you have the `getuid' function. */
57
/* #undef HAVE_GETUID */
59
/* Define to 1 if you have the <inttypes.h> header file. */
60
/* #undef HAVE_INTTYPES_H */
62
/* Define to 1 if you have the `nsl' library (-lnsl). */
63
/* #undef HAVE_LIBNSL */
65
/* Define to 1 if you have the `memcmp' function. */
68
/* Define to 1 if you have the `memcpy' function. */
71
/* Define to 1 if you have the `memmove' function. */
72
#define HAVE_MEMMOVE 1
74
/* Define to 1 if you have the <memory.h> header file. */
75
#define HAVE_MEMORY_H 1
77
/* Define to 1 if you have the `mlock' function. */
78
/* #undef HAVE_MLOCK */
80
/* Define to 1 if you have the `mmap' function. */
81
/* #undef HAVE_MMAP */
83
/* Define to 1 if you have the `munlock' function. */
84
/* #undef HAVE_MUNLOCK */
86
/* Define to 1 if you have the `munmap' function. */
87
/* #undef HAVE_MUNMAP */
89
/* Define to 1 to use the GCC compiler and 68K assembly language mutexes. */
90
/* #undef HAVE_MUTEX_68K_GCC_ASSEMBLY */
92
/* Define to 1 to use the AIX _check_lock mutexes. */
93
/* #undef HAVE_MUTEX_AIX_CHECK_LOCK */
95
/* Define to 1 to use the GCC compiler and Alpha assembly language mutexes. */
96
/* #undef HAVE_MUTEX_ALPHA_GCC_ASSEMBLY */
98
/* Define to 1 to use the GCC compiler and ARM assembly language mutexes. */
99
/* #undef HAVE_MUTEX_ARM_GCC_ASSEMBLY */
101
/* Define to 1 to use the UNIX fcntl system call mutexes. */
102
/* #undef HAVE_MUTEX_FCNTL */
104
/* Define to 1 to use the GCC compiler and PaRisc assembly language mutexes.
106
/* #undef HAVE_MUTEX_HPPA_GCC_ASSEMBLY */
108
/* Define to 1 to use the msem_XXX mutexes on HP-UX. */
109
/* #undef HAVE_MUTEX_HPPA_MSEM_INIT */
111
/* Define to 1 to use the GCC compiler and IA64 assembly language mutexes. */
112
/* #undef HAVE_MUTEX_IA64_GCC_ASSEMBLY */
114
/* Define to 1 to use the msem_XXX mutexes on systems other than HP-UX. */
115
/* #undef HAVE_MUTEX_MSEM_INIT */
117
/* Define to 1 to use the GCC compiler and Apple PowerPC assembly language. */
118
/* #undef HAVE_MUTEX_PPC_APPLE_GCC_ASSEMBLY */
120
/* Define to 1 to use the GCC compiler and generic PowerPC assembly language.
122
/* #undef HAVE_MUTEX_PPC_GENERIC_GCC_ASSEMBLY */
124
/* Define to 1 to use POSIX 1003.1 pthread_XXX mutexes. */
125
/* #undef HAVE_MUTEX_PTHREADS */
127
/* Define to 1 to use Reliant UNIX initspin mutexes. */
128
/* #undef HAVE_MUTEX_RELIANTUNIX_INITSPIN */
130
/* Define to 1 to use the GCC compiler and S/390 assembly language mutexes. */
131
/* #undef HAVE_MUTEX_S390_GCC_ASSEMBLY */
133
/* Define to 1 to use the SCO compiler and x86 assembly language mutexes. */
134
/* #undef HAVE_MUTEX_SCO_X86_CC_ASSEMBLY */
136
/* Define to 1 to use the obsolete POSIX 1003.1 sema_XXX mutexes. */
137
/* #undef HAVE_MUTEX_SEMA_INIT */
139
/* Define to 1 to use the SGI XXX_lock mutexes. */
140
/* #undef HAVE_MUTEX_SGI_INIT_LOCK */
142
/* Define to 1 to use the Solaris _lock_XXX mutexes. */
143
/* #undef HAVE_MUTEX_SOLARIS_LOCK_TRY */
145
/* Define to 1 to use the Solaris lwp threads mutexes. */
146
/* #undef HAVE_MUTEX_SOLARIS_LWP */
148
/* Define to 1 to use the GCC compiler and Sparc assembly language mutexes. */
149
/* #undef HAVE_MUTEX_SPARC_GCC_ASSEMBLY */
151
/* Define to 1 if mutexes hold system resources. */
152
/* #undef HAVE_MUTEX_SYSTEM_RESOURCES */
154
/* Define to 1 if fast mutexes are available. */
155
#define HAVE_MUTEX_THREADS 1
157
/* Define to 1 to configure mutexes intra-process only. */
158
/* #undef HAVE_MUTEX_THREAD_ONLY */
160
/* Define to 1 to use the UNIX International mutexes. */
161
/* #undef HAVE_MUTEX_UI_THREADS */
163
/* Define to 1 to use the UTS compiler and assembly language mutexes. */
164
/* #undef HAVE_MUTEX_UTS_CC_ASSEMBLY */
166
/* Define to 1 to use VMS mutexes. */
167
/* #undef HAVE_MUTEX_VMS */
169
/* Define to 1 to use VxWorks mutexes. */
170
/* #undef HAVE_MUTEX_VXWORKS */
172
/* Define to 1 to use Windows mutexes. */
173
#define HAVE_MUTEX_WIN32 1
175
/* Define to 1 to use the GCC compiler and x86 assembly language mutexes. */
176
/* #undef HAVE_MUTEX_X86_GCC_ASSEMBLY */
178
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
179
/* #undef HAVE_NDIR_H */
181
/* Define to 1 if you have the O_DIRECT flag. */
182
/* #undef HAVE_O_DIRECT */
184
/* Define to 1 if you have the `pread' function. */
185
/* #undef HAVE_PREAD */
187
/* Define to 1 if you have the `pstat_getdynamic' function. */
188
/* #undef HAVE_PSTAT_GETDYNAMIC */
190
/* Define to 1 if you have the `pwrite' function. */
191
/* #undef HAVE_PWRITE */
193
/* Define to 1 if building on QNX. */
194
/* #undef HAVE_QNX */
196
/* Define to 1 if you have the `qsort' function. */
199
/* Define to 1 if you have the `raise' function. */
202
/* Define to 1 if building RPC client/server. */
203
/* #undef HAVE_RPC */
205
/* Define to 1 if you have the `sched_yield' function. */
206
/* #undef HAVE_SCHED_YIELD */
208
/* Define to 1 if you have the `select' function. */
209
/* #undef HAVE_SELECT */
211
/* Define to 1 if you have the `shmget' function. */
212
/* #undef HAVE_SHMGET */
214
/* Define to 1 if you have the `snprintf' function. */
215
#define HAVE_SNPRINTF 1
217
/* Define to 1 if you have the <stdint.h> header file. */
218
/* #undef HAVE_STDINT_H */
220
/* Define to 1 if you have the <stdlib.h> header file. */
221
#define HAVE_STDLIB_H 1
223
/* Define to 1 if you have the `strcasecmp' function. */
224
/* #undef HAVE_STRCASECMP */
226
/* Define to 1 if you have the `strdup' function. */
227
#define HAVE_STRDUP 1
229
/* Define to 1 if you have the `strerror' function. */
230
#define HAVE_STRERROR 1
232
/* Define to 1 if you have the <strings.h> header file. */
233
#define HAVE_STRINGS_H 1
235
/* Define to 1 if you have the <string.h> header file. */
236
#define HAVE_STRING_H 1
238
/* Define to 1 if you have the `strtoul' function. */
239
#define HAVE_STRTOUL 1
241
/* Define to 1 if `st_blksize' is member of `struct stat'. */
242
/* #undef HAVE_STRUCT_STAT_ST_BLKSIZE */
244
/* Define to 1 if you have the `sysconf' function. */
245
/* #undef HAVE_SYSCONF */
247
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
249
/* #undef HAVE_SYS_DIR_H */
251
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
253
/* #undef HAVE_SYS_NDIR_H */
255
/* Define to 1 if you have the <sys/select.h> header file. */
256
/* #undef HAVE_SYS_SELECT_H */
258
/* Define to 1 if you have the <sys/stat.h> header file. */
259
#define HAVE_SYS_STAT_H 1
261
/* Define to 1 if you have the <sys/time.h> header file. */
262
/* #undef HAVE_SYS_TIME_H */
264
/* Define to 1 if you have the <sys/types.h> header file. */
265
#define HAVE_SYS_TYPES_H 1
267
/* Define to 1 if you have the <unistd.h> header file. */
268
/* #undef HAVE_UNISTD_H */
270
/* Define to 1 if unlink of file with open file descriptors will fail. */
271
/* #undef HAVE_UNLINK_WITH_OPEN_FAILURE */
273
/* Define to 1 if you have the `vsnprintf' function. */
274
#define HAVE_VSNPRINTF 1
276
/* Define to 1 if building VxWorks. */
277
/* #undef HAVE_VXWORKS */
279
/* Define to 1 if you have the `yield' function. */
280
/* #undef HAVE_YIELD */
282
/* Define to 1 if you have the `_fstati64' function. */
283
#define HAVE__FSTATI64 1
285
/* Define to the address where bug reports for this package should be sent. */
286
#define PACKAGE_BUGREPORT "support@sleepycat.com"
288
/* Define to the full name of this package. */
289
#define PACKAGE_NAME "Berkeley DB"
291
/* Define to the full name and version of this package. */
292
#define PACKAGE_STRING "Berkeley DB 4.1.25"
294
/* Define to the one symbol short name of this package. */
295
#define PACKAGE_TARNAME "db-4.1.25"
297
/* Define to the version of this package. */
298
#define PACKAGE_VERSION "4.1.25"
300
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
301
/* #undef STAT_MACROS_BROKEN */
303
/* Define to 1 if you have the ANSI C header files. */
304
#define STDC_HEADERS 1
306
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
307
/* #undef TIME_WITH_SYS_TIME */
309
/* Define to 1 to mask harmless unitialized memory read/writes. */
312
/* Number of bits in a file offset, on hosts where this is settable. */
313
/* #undef _FILE_OFFSET_BITS */
315
/* Define for large files, on AIX-style hosts. */
316
/* #undef _LARGE_FILES */
318
/* Define to empty if `const' does not conform to ANSI C. */
322
* Exit success/failure macros.
324
#ifndef HAVE_EXIT_SUCCESS
325
#define EXIT_FAILURE 1
326
#define EXIT_SUCCESS 0
330
* Don't step on the namespace. Other libraries may have their own
331
* implementations of these functions, we don't want to use their
332
* implementations or force them to use ours based on the load order.
335
#define getcwd __db_Cgetcwd
338
#define memcmp __db_Cmemcmp
341
#define memcpy __db_Cmemcpy
344
#define memmove __db_Cmemmove
347
#define raise __db_Craise
349
#ifndef HAVE_SNPRINTF
350
#define snprintf __db_Csnprintf
352
#ifndef HAVE_STRCASECMP
353
#define strcasecmp __db_Cstrcasecmp
354
#define strncasecmp __db_Cstrncasecmp
356
#ifndef HAVE_STRERROR
357
#define strerror __db_Cstrerror
359
#ifndef HAVE_VSNPRINTF
360
#define vsnprintf __db_Cvsnprintf
365
* The following is not part of the automatic configuration setup, but
366
* provides the information necessary to build Berkeley DB on Windows.
368
#include <sys/types.h>
369
#include <sys/stat.h>
384
* To build Tcl interface libraries, the include path must be configured to
385
* use the directory containing <tcl.h>, usually the include directory in
386
* the Tcl distribution.
388
#ifdef DB_TCL_SUPPORT
392
#define WIN32_LEAN_AND_MEAN
396
* All of the necessary includes have been included, ignore the #includes
397
* in the Berkeley DB source files.
399
#define NO_SYSTEM_INCLUDES
402
* Win32 has getcwd, snprintf and vsnprintf, but under different names.
404
#define getcwd(buf, size) _getcwd(buf, size)
405
#define snprintf _snprintf
406
#define vsnprintf _vsnprintf
409
* Win32 does not define getopt and friends in any header file, so we must.
411
#if defined(__cplusplus)
416
extern int getopt(int, char * const *, const char *);
417
#if defined(__cplusplus)
422
* We use DB_WIN32 much as one would use _WIN32, to determine that we're
423
* using an operating system environment that supports Win32 calls
424
* and semantics. We don't use _WIN32 because cygwin/gcc also defines
425
* that, even though it closely emulates the Unix environment.
430
* This is a grievous hack -- once we've included windows.h, we have no choice
431
* but to use ANSI-style varargs (because it pulls in stdarg.h for us). DB's
432
* code decides which type of varargs to use based on the state of __STDC__.
433
* Sensible. Unfortunately, Microsoft's compiler _doesn't_ define __STDC__
434
* unless you invoke it with arguments turning OFF all vendor extensions. Even
435
* more unfortunately, if we do that, it fails to parse windows.h!!!!! So, we
436
* define __STDC__ here, after windows.h comes in. Note: the compiler knows
437
* we've defined it, and starts enforcing strict ANSI compilance from this point