2019-07-28 10:31:56 +08:00
|
|
|
/* DO NOT EDIT: automatically built by dist/s_win32. */
|
2014-11-19 00:25:21 +08:00
|
|
|
/* Define to 1 if you want to build a version for running the test suite. */
|
|
|
|
/* #undef CONFIG_TEST */
|
|
|
|
|
|
|
|
/* We use DB_WIN32 much as one would use _WIN32 -- to specify that we're using
|
|
|
|
an operating system environment that supports Win32 calls and semantics. We
|
|
|
|
don't use _WIN32 because Cygwin/GCC also defines _WIN32, even though
|
|
|
|
Cygwin/GCC closely emulates the Unix environment. */
|
|
|
|
#define DB_WIN32 1
|
|
|
|
|
|
|
|
/* Define to 1 if you want a debugging version. */
|
|
|
|
/* #undef DEBUG */
|
|
|
|
#if defined(_DEBUG)
|
|
|
|
#if !defined(DEBUG)
|
|
|
|
#define DEBUG 1
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Define to 1 if you want a version that logs read operations. */
|
|
|
|
/* #undef DEBUG_ROP */
|
|
|
|
|
|
|
|
/* Define to 1 if you want a version that logs write operations. */
|
|
|
|
/* #undef DEBUG_WOP */
|
|
|
|
|
|
|
|
/* Define to 1 if you want a version with run-time diagnostic checking. */
|
|
|
|
/* #undef DIAGNOSTIC */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `clock_gettime' function. */
|
|
|
|
/* #undef HAVE_CLOCK_GETTIME */
|
|
|
|
|
|
|
|
/* Define to 1 if Berkeley DB release includes strong cryptography. */
|
|
|
|
#ifndef HAVE_SMALLBUILD
|
|
|
|
#define HAVE_CRYPTO 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `directio' function. */
|
|
|
|
/* #undef HAVE_DIRECTIO */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
|
|
|
|
*/
|
|
|
|
/* #undef HAVE_DIRENT_H */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
|
|
/* #undef HAVE_DLFCN_H */
|
|
|
|
|
|
|
|
/* Define to 1 if you have EXIT_SUCCESS/EXIT_FAILURE #defines. */
|
|
|
|
#define HAVE_EXIT_SUCCESS 1
|
|
|
|
|
|
|
|
/* Define to 1 if fcntl/F_SETFD denies child access to file descriptors. */
|
|
|
|
/* #undef HAVE_FCNTL_F_SETFD */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `fdatasync' function. */
|
|
|
|
/* #undef HAVE_FDATASYNC */
|
|
|
|
|
|
|
|
/* Define to 1 if allocated filesystem blocks are not zeroed. */
|
|
|
|
#define HAVE_FILESYSTEM_NOTZERO 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `ftruncate' function. */
|
|
|
|
#define HAVE_FTRUNCATE 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `getcwd' function. */
|
|
|
|
#define HAVE_GETCWD 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `getopt' function. */
|
|
|
|
/* #undef HAVE_GETOPT */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `getrusage' function. */
|
|
|
|
/* #undef HAVE_GETRUSAGE */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `gettimeofday' function. */
|
|
|
|
/* #undef HAVE_GETTIMEOFDAY */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `getuid' function. */
|
|
|
|
/* #undef HAVE_GETUID */
|
|
|
|
|
|
|
|
/* Define to 1 if building Hash access method. */
|
|
|
|
#ifndef HAVE_SMALLBUILD
|
|
|
|
#define HAVE_HASH 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
|
|
/* #undef HAVE_INTTYPES_H */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `nsl' library (-lnsl). */
|
|
|
|
/* #undef HAVE_LIBNSL */
|
|
|
|
|
|
|
|
/* Define to 1 if the system has the type `long long'. */
|
|
|
|
#define HAVE_LONG_LONG 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `memcmp' function. */
|
|
|
|
#define HAVE_MEMCMP 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `memcpy' function. */
|
|
|
|
#define HAVE_MEMCPY 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `memmove' function. */
|
|
|
|
#define HAVE_MEMMOVE 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
|
|
#define HAVE_MEMORY_H 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `mlock' function. */
|
|
|
|
/* #undef HAVE_MLOCK */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `mmap' function. */
|
|
|
|
/* #undef HAVE_MMAP */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `munlock' function. */
|
|
|
|
/* #undef HAVE_MUNLOCK */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `munmap' function. */
|
|
|
|
/* #undef HAVE_MUNMAP */
|
|
|
|
|
|
|
|
/* Define to 1 to use the GCC compiler and 68K assembly language mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_68K_GCC_ASSEMBLY */
|
|
|
|
|
|
|
|
/* Define to 1 to use the AIX _check_lock mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_AIX_CHECK_LOCK */
|
|
|
|
|
|
|
|
/* Define to 1 to use the GCC compiler and Alpha assembly language mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_ALPHA_GCC_ASSEMBLY */
|
|
|
|
|
|
|
|
/* Define to 1 to use the GCC compiler and ARM assembly language mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_ARM_GCC_ASSEMBLY */
|
|
|
|
|
|
|
|
/* Define to 1 to use the Apple/Darwin _spin_lock_try mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_DARWIN_SPIN_LOCK_TRY */
|
|
|
|
|
|
|
|
/* Define to 1 to use the UNIX fcntl system call mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_FCNTL */
|
|
|
|
|
|
|
|
/* Define to 1 to use the GCC compiler and PaRisc assembly language mutexes.
|
|
|
|
*/
|
|
|
|
/* #undef HAVE_MUTEX_HPPA_GCC_ASSEMBLY */
|
|
|
|
|
|
|
|
/* Define to 1 to use the msem_XXX mutexes on HP-UX. */
|
|
|
|
/* #undef HAVE_MUTEX_HPPA_MSEM_INIT */
|
|
|
|
|
|
|
|
/* Define to 1 to use the GCC compiler and IA64 assembly language mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_IA64_GCC_ASSEMBLY */
|
|
|
|
|
|
|
|
/* Define to 1 to use the msem_XXX mutexes on systems other than HP-UX. */
|
|
|
|
/* #undef HAVE_MUTEX_MSEM_INIT */
|
|
|
|
|
|
|
|
/* Define to 1 to use the GCC compiler and PowerPC assembly language mutexes.
|
|
|
|
*/
|
|
|
|
/* #undef HAVE_MUTEX_PPC_GCC_ASSEMBLY */
|
|
|
|
|
|
|
|
/* Define to 1 to use POSIX 1003.1 pthread_XXX mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_PTHREADS */
|
|
|
|
|
|
|
|
/* Define to 1 to use Reliant UNIX initspin mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_RELIANTUNIX_INITSPIN */
|
|
|
|
|
|
|
|
/* Define to 1 to use the IBM C compiler and S/390 assembly language mutexes.
|
|
|
|
*/
|
|
|
|
/* #undef HAVE_MUTEX_S390_CC_ASSEMBLY */
|
|
|
|
|
|
|
|
/* Define to 1 to use the GCC compiler and S/390 assembly language mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_S390_GCC_ASSEMBLY */
|
|
|
|
|
|
|
|
/* Define to 1 to use the SCO compiler and x86 assembly language mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_SCO_X86_CC_ASSEMBLY */
|
|
|
|
|
|
|
|
/* Define to 1 to use the obsolete POSIX 1003.1 sema_XXX mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_SEMA_INIT */
|
|
|
|
|
|
|
|
/* Define to 1 to use the SGI XXX_lock mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_SGI_INIT_LOCK */
|
|
|
|
|
|
|
|
/* Define to 1 to use the Solaris _lock_XXX mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_SOLARIS_LOCK_TRY */
|
|
|
|
|
|
|
|
/* Define to 1 to use the Solaris lwp threads mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_SOLARIS_LWP */
|
|
|
|
|
|
|
|
/* Define to 1 to use the GCC compiler and Sparc assembly language mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_SPARC_GCC_ASSEMBLY */
|
|
|
|
|
|
|
|
/* Define to 1 if mutexes hold system resources. */
|
|
|
|
/* #undef HAVE_MUTEX_SYSTEM_RESOURCES */
|
|
|
|
|
|
|
|
/* Define to 1 if fast mutexes are available. */
|
|
|
|
#define HAVE_MUTEX_THREADS 1
|
|
|
|
|
|
|
|
/* Define to 1 to configure mutexes intra-process only. */
|
|
|
|
/* #undef HAVE_MUTEX_THREAD_ONLY */
|
|
|
|
|
|
|
|
/* Define to 1 to use the CC compiler and Tru64 assembly language mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_TRU64_CC_ASSEMBLY */
|
|
|
|
|
|
|
|
/* Define to 1 to use the UNIX International mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_UI_THREADS */
|
|
|
|
|
|
|
|
/* Define to 1 to use the UTS compiler and assembly language mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_UTS_CC_ASSEMBLY */
|
|
|
|
|
|
|
|
/* Define to 1 to use VMS mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_VMS */
|
|
|
|
|
|
|
|
/* Define to 1 to use VxWorks mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_VXWORKS */
|
|
|
|
|
|
|
|
/* Define to 1 to use the MSVC compiler and Windows mutexes. */
|
|
|
|
#define HAVE_MUTEX_WIN32 1
|
|
|
|
|
|
|
|
/* Define to 1 to use the GCC compiler and Windows mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_WIN32_GCC */
|
|
|
|
|
|
|
|
/* Define to 1 to use the GCC compiler and x86 assembly language mutexes. */
|
|
|
|
/* #undef HAVE_MUTEX_X86_GCC_ASSEMBLY */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
|
|
|
|
/* #undef HAVE_NDIR_H */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the O_DIRECT flag. */
|
|
|
|
/* #undef HAVE_O_DIRECT */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `pread' function. */
|
|
|
|
/* #undef HAVE_PREAD */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `pstat_getdynamic' function. */
|
|
|
|
/* #undef HAVE_PSTAT_GETDYNAMIC */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `pwrite' function. */
|
|
|
|
/* #undef HAVE_PWRITE */
|
|
|
|
|
|
|
|
/* Define to 1 if building on QNX. */
|
|
|
|
/* #undef HAVE_QNX */
|
|
|
|
|
|
|
|
/* Define to 1 if building Queue access method. */
|
|
|
|
#ifndef HAVE_SMALLBUILD
|
|
|
|
#define HAVE_QUEUE 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `raise' function. */
|
|
|
|
#define HAVE_RAISE 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `rand' function. */
|
|
|
|
#define HAVE_RAND 1
|
|
|
|
|
|
|
|
/* Define to 1 if building replication support. */
|
|
|
|
#ifndef HAVE_SMALLBUILD
|
|
|
|
#define HAVE_REPLICATION 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Define to 1 if building RPC client/server. */
|
|
|
|
/* #undef HAVE_RPC */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `sched_yield' function. */
|
|
|
|
/* #undef HAVE_SCHED_YIELD */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `select' function. */
|
|
|
|
/* #undef HAVE_SELECT */
|
|
|
|
|
|
|
|
/* Define to 1 if building sequence support. */
|
|
|
|
#define HAVE_SEQUENCE 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `shmget' function. */
|
|
|
|
/* #undef HAVE_SHMGET */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `snprintf' function. */
|
|
|
|
#define HAVE_SNPRINTF 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `srand' function. */
|
|
|
|
#define HAVE_SRAND 1
|
|
|
|
|
|
|
|
/* Define to 1 if building statistics support. */
|
|
|
|
#define HAVE_STATISTICS 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
|
|
/* #undef HAVE_STDINT_H */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
|
|
#define HAVE_STDLIB_H 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strcasecmp' function. */
|
|
|
|
/* #undef HAVE_STRCASECMP */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strdup' function. */
|
|
|
|
#define HAVE_STRDUP 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strerror' function. */
|
|
|
|
#define HAVE_STRERROR 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
|
|
#define HAVE_STRINGS_H 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
|
|
#define HAVE_STRING_H 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strtol' function. */
|
|
|
|
#define HAVE_STRTOL 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strtoul' function. */
|
|
|
|
#define HAVE_STRTOUL 1
|
|
|
|
|
|
|
|
/* Define to 1 if `st_blksize' is member of `struct stat'. */
|
|
|
|
/* #undef HAVE_STRUCT_STAT_ST_BLKSIZE */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `sysconf' function. */
|
|
|
|
/* #undef HAVE_SYSCONF */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
|
|
|
|
*/
|
|
|
|
/* #undef HAVE_SYS_DIR_H */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/fcntl.h> header file. */
|
|
|
|
#define HAVE_SYS_FCNTL_H 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
|
|
|
|
*/
|
|
|
|
/* #undef HAVE_SYS_NDIR_H */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/select.h> header file. */
|
|
|
|
/* #undef HAVE_SYS_SELECT_H */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
|
|
#define HAVE_SYS_STAT_H 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/time.h> header file. */
|
|
|
|
/* #undef HAVE_SYS_TIME_H */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
|
|
#define HAVE_SYS_TYPES_H 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
|
|
/* #undef HAVE_UNISTD_H */
|
|
|
|
|
|
|
|
/* Define to 1 if unlink of file with open file descriptors will fail. */
|
|
|
|
/* #undef HAVE_UNLINK_WITH_OPEN_FAILURE */
|
|
|
|
|
|
|
|
/* Define to 1 if the system has the type `unsigned long long'. */
|
|
|
|
#define HAVE_UNSIGNED_LONG_LONG 1
|
|
|
|
|
|
|
|
/* Define to 1 if building access method verification support. */
|
|
|
|
#ifndef HAVE_SMALLBUILD
|
|
|
|
#define HAVE_VERIFY 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `vsnprintf' function. */
|
|
|
|
#define HAVE_VSNPRINTF 1
|
|
|
|
|
|
|
|
/* Define to 1 if building VxWorks. */
|
|
|
|
/* #undef HAVE_VXWORKS */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `yield' function. */
|
|
|
|
/* #undef HAVE_YIELD */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `_fstati64' function. */
|
|
|
|
#define HAVE__FSTATI64 1
|
|
|
|
|
|
|
|
/* Define to a value if using non-standard mutex alignment. */
|
|
|
|
/* #undef MUTEX_ALIGN */
|
|
|
|
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
|
|
#define PACKAGE_BUGREPORT "support@sleepycat.com"
|
|
|
|
|
|
|
|
/* Define to the full name of this package. */
|
|
|
|
#define PACKAGE_NAME "Berkeley DB"
|
|
|
|
|
|
|
|
/* Define to the full name and version of this package. */
|
|
|
|
#define PACKAGE_STRING "Berkeley DB 4.3.29"
|
|
|
|
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
|
|
#define PACKAGE_TARNAME "db-4.3.29"
|
|
|
|
|
|
|
|
/* Define to the version of this package. */
|
|
|
|
#define PACKAGE_VERSION "4.3.29"
|
|
|
|
|
|
|
|
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
|
|
|
|
/* #undef STAT_MACROS_BROKEN */
|
|
|
|
|
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
|
|
#define STDC_HEADERS 1
|
|
|
|
|
|
|
|
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
|
|
|
/* #undef TIME_WITH_SYS_TIME */
|
|
|
|
|
|
|
|
/* Define to 1 to mask harmless uninitialized memory read/writes. */
|
|
|
|
/* #undef UMRW */
|
|
|
|
|
|
|
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
|
|
|
/* #undef _FILE_OFFSET_BITS */
|
|
|
|
|
|
|
|
/* Define for large files, on AIX-style hosts. */
|
|
|
|
/* #undef _LARGE_FILES */
|
|
|
|
|
|
|
|
/* Define to empty if `const' does not conform to ANSI C. */
|
|
|
|
/* #undef const */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Exit success/failure macros.
|
|
|
|
*/
|
|
|
|
#ifndef HAVE_EXIT_SUCCESS
|
|
|
|
#define EXIT_FAILURE 1
|
|
|
|
#define EXIT_SUCCESS 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Don't step on the namespace. Other libraries may have their own
|
|
|
|
* implementations of these functions, we don't want to use their
|
|
|
|
* implementations or force them to use ours based on the load order.
|
|
|
|
*/
|
|
|
|
#ifndef HAVE_GETCWD
|
|
|
|
#define getcwd __db_Cgetcwd
|
|
|
|
#endif
|
|
|
|
#ifndef HAVE_MEMCMP
|
|
|
|
#define memcmp __db_Cmemcmp
|
|
|
|
#endif
|
|
|
|
#ifndef HAVE_MEMCPY
|
|
|
|
#define memcpy __db_Cmemcpy
|
|
|
|
#endif
|
|
|
|
#ifndef HAVE_MEMMOVE
|
|
|
|
#define memmove __db_Cmemmove
|
|
|
|
#endif
|
|
|
|
#ifndef HAVE_RAISE
|
|
|
|
#define raise __db_Craise
|
|
|
|
#endif
|
|
|
|
#ifndef HAVE_SNPRINTF
|
|
|
|
#define snprintf __db_Csnprintf
|
|
|
|
#endif
|
|
|
|
#ifndef HAVE_STRCASECMP
|
|
|
|
#define strcasecmp __db_Cstrcasecmp
|
|
|
|
#define strncasecmp __db_Cstrncasecmp
|
|
|
|
#endif
|
|
|
|
#ifndef HAVE_STRERROR
|
|
|
|
#define strerror __db_Cstrerror
|
|
|
|
#endif
|
|
|
|
#ifndef HAVE_VSNPRINTF
|
|
|
|
#define vsnprintf __db_Cvsnprintf
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "win_db.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Microsoft's compiler _doesn't_ define __STDC__ unless you invoke it with
|
|
|
|
* arguments turning OFF all vendor extensions. Even more unfortunately, if
|
|
|
|
* we do that, it fails to parse windows.h!!!!! So, we define __STDC__ here,
|
|
|
|
* after windows.h comes in. Note: the compiler knows we've defined it, and
|
|
|
|
* starts enforcing strict ANSI compliance from this point on.
|
|
|
|
*/
|
|
|
|
#define __STDC__ 1
|