00001 /* DO NOT EDIT: automatically built by dist/s_win32. */ 00002 /* Define to 1 if you want to build a version for running the test suite. */ 00003 /* #undef CONFIG_TEST */ 00004 00005 /* We use DB_WIN32 much as one would use _WIN32 -- to specify that we're using 00006 an operating system environment that supports Win32 calls and semantics. We 00007 don't use _WIN32 because Cygwin/GCC also defines _WIN32, even though 00008 Cygwin/GCC closely emulates the Unix environment. */ 00009 #define DB_WIN32 1 00010 00011 /* Define to 1 if you want a debugging version. */ 00012 /* #undef DEBUG */ 00013 #if defined(_DEBUG) 00014 #if !defined(DEBUG) 00015 #define DEBUG 1 00016 #endif 00017 #endif 00018 00019 /* Define to 1 if you want a version that logs read operations. */ 00020 /* #undef DEBUG_ROP */ 00021 00022 /* Define to 1 if you want a version that logs write operations. */ 00023 /* #undef DEBUG_WOP */ 00024 00025 /* Define to 1 if you want a version with run-time diagnostic checking. */ 00026 /* #undef DIAGNOSTIC */ 00027 00028 /* Define to 1 if 64-bit types are available. */ 00029 #define HAVE_64BIT_TYPES 1 00030 00031 /* Define to 1 if you have the `clock_gettime' function. */ 00032 /* #undef HAVE_CLOCK_GETTIME */ 00033 00034 /* Define to 1 if Berkeley DB release includes strong cryptography. */ 00035 #ifndef HAVE_SMALLBUILD 00036 #define HAVE_CRYPTO 1 00037 #endif 00038 00039 /* Define to 1 if you have the `directio' function. */ 00040 /* #undef HAVE_DIRECTIO */ 00041 00042 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. 00043 */ 00044 /* #undef HAVE_DIRENT_H */ 00045 00046 /* Define to 1 if you have the <dlfcn.h> header file. */ 00047 /* #undef HAVE_DLFCN_H */ 00048 00049 /* Define to 1 if you have EXIT_SUCCESS/EXIT_FAILURE #defines. */ 00050 #define HAVE_EXIT_SUCCESS 1 00051 00052 /* Define to 1 if you have the `fchmod' function. */ 00053 /* #undef HAVE_FCHMOD */ 00054 00055 /* Define to 1 if you have the `fcntl' function. */ 00056 /* #undef HAVE_FCNTL */ 00057 00058 /* Define to 1 if fcntl/F_SETFD denies child access to file descriptors. */ 00059 /* #undef HAVE_FCNTL_F_SETFD */ 00060 00061 /* Define to 1 if you have the `fdatasync' function. */ 00062 /* #undef HAVE_FDATASYNC */ 00063 00064 /* Define to 1 if allocated filesystem blocks are not zeroed. */ 00065 #define HAVE_FILESYSTEM_NOTZERO 1 00066 00067 /* Define to 1 if you have the `ftruncate' function. */ 00068 #define HAVE_FTRUNCATE 1 00069 00070 /* Define to 1 if you have the `getcwd' function. */ 00071 #define HAVE_GETCWD 1 00072 00073 /* Define to 1 if you have the `getopt' function. */ 00074 /* #undef HAVE_GETOPT */ 00075 00076 /* Define to 1 if you have the `getrusage' function. */ 00077 /* #undef HAVE_GETRUSAGE */ 00078 00079 /* Define to 1 if you have the `gettimeofday' function. */ 00080 /* #undef HAVE_GETTIMEOFDAY */ 00081 00082 /* Define to 1 if you have the `getuid' function. */ 00083 /* #undef HAVE_GETUID */ 00084 00085 /* Define to 1 if building Hash access method. */ 00086 #ifndef HAVE_SMALLBUILD 00087 #define HAVE_HASH 1 00088 #endif 00089 00090 /* Define to 1 if thread identifier type db_threadid_t is integral. */ 00091 #define HAVE_INTEGRAL_THREAD_TYPE 1 00092 00093 /* Define to 1 if you have the <inttypes.h> header file. */ 00094 /* #undef HAVE_INTTYPES_H */ 00095 00096 /* Define to 1 if you have the `nsl' library (-lnsl). */ 00097 /* #undef HAVE_LIBNSL */ 00098 00099 /* Define to 1 if you have the `memcmp' function. */ 00100 #define HAVE_MEMCMP 1 00101 00102 /* Define to 1 if you have the `memcpy' function. */ 00103 #define HAVE_MEMCPY 1 00104 00105 /* Define to 1 if you have the `memmove' function. */ 00106 #define HAVE_MEMMOVE 1 00107 00108 /* Define to 1 if you have the <memory.h> header file. */ 00109 #define HAVE_MEMORY_H 1 00110 00111 /* Define to 1 if you have the `mlock' function. */ 00112 /* #undef HAVE_MLOCK */ 00113 00114 /* Define to 1 if you have the `mmap' function. */ 00115 /* #undef HAVE_MMAP */ 00116 00117 /* Define to 1 if you have the `munlock' function. */ 00118 /* #undef HAVE_MUNLOCK */ 00119 00120 /* Define to 1 if you have the `munmap' function. */ 00121 /* #undef HAVE_MUNMAP */ 00122 00123 /* Define to 1 to use the GCC compiler and 68K assembly language mutexes. */ 00124 /* #undef HAVE_MUTEX_68K_GCC_ASSEMBLY */ 00125 00126 /* Define to 1 to use the AIX _check_lock mutexes. */ 00127 /* #undef HAVE_MUTEX_AIX_CHECK_LOCK */ 00128 00129 /* Define to 1 to use the GCC compiler and Alpha assembly language mutexes. */ 00130 /* #undef HAVE_MUTEX_ALPHA_GCC_ASSEMBLY */ 00131 00132 /* Define to 1 to use the GCC compiler and ARM assembly language mutexes. */ 00133 /* #undef HAVE_MUTEX_ARM_GCC_ASSEMBLY */ 00134 00135 /* Define to 1 to use the Apple/Darwin _spin_lock_try mutexes. */ 00136 /* #undef HAVE_MUTEX_DARWIN_SPIN_LOCK_TRY */ 00137 00138 /* Define to 1 to use the UNIX fcntl system call mutexes. */ 00139 /* #undef HAVE_MUTEX_FCNTL */ 00140 00141 /* Define to 1 to use the GCC compiler and PaRisc assembly language mutexes. 00142 */ 00143 /* #undef HAVE_MUTEX_HPPA_GCC_ASSEMBLY */ 00144 00145 /* Define to 1 to use the msem_XXX mutexes on HP-UX. */ 00146 /* #undef HAVE_MUTEX_HPPA_MSEM_INIT */ 00147 00148 /* Define to 1 to use the GCC compiler and IA64 assembly language mutexes. */ 00149 /* #undef HAVE_MUTEX_IA64_GCC_ASSEMBLY */ 00150 00151 /* Define to 1 to use the GCC compiler and MIPS assembly language mutexes. */ 00152 /* #undef HAVE_MUTEX_MIPS_GCC_ASSEMBLY */ 00153 00154 /* Define to 1 to use the msem_XXX mutexes on systems other than HP-UX. */ 00155 /* #undef HAVE_MUTEX_MSEM_INIT */ 00156 00157 /* Define to 1 to use the GCC compiler and PowerPC assembly language mutexes. 00158 */ 00159 /* #undef HAVE_MUTEX_PPC_GCC_ASSEMBLY */ 00160 00161 /* Define to 1 to use POSIX 1003.1 pthread_XXX mutexes. */ 00162 /* #undef HAVE_MUTEX_PTHREADS */ 00163 00164 /* Define to 1 to use Reliant UNIX initspin mutexes. */ 00165 /* #undef HAVE_MUTEX_RELIANTUNIX_INITSPIN */ 00166 00167 /* Define to 1 to use the IBM C compiler and S/390 assembly language mutexes. 00168 */ 00169 /* #undef HAVE_MUTEX_S390_CC_ASSEMBLY */ 00170 00171 /* Define to 1 to use the GCC compiler and S/390 assembly language mutexes. */ 00172 /* #undef HAVE_MUTEX_S390_GCC_ASSEMBLY */ 00173 00174 /* Define to 1 to use the SCO compiler and x86 assembly language mutexes. */ 00175 /* #undef HAVE_MUTEX_SCO_X86_CC_ASSEMBLY */ 00176 00177 /* Define to 1 to use the obsolete POSIX 1003.1 sema_XXX mutexes. */ 00178 /* #undef HAVE_MUTEX_SEMA_INIT */ 00179 00180 /* Define to 1 to use the SGI XXX_lock mutexes. */ 00181 /* #undef HAVE_MUTEX_SGI_INIT_LOCK */ 00182 00183 /* Define to 1 to use the Solaris _lock_XXX mutexes. */ 00184 /* #undef HAVE_MUTEX_SOLARIS_LOCK_TRY */ 00185 00186 /* Define to 1 to use the Solaris lwp threads mutexes. */ 00187 /* #undef HAVE_MUTEX_SOLARIS_LWP */ 00188 00189 /* Define to 1 to use the GCC compiler and Sparc assembly language mutexes. */ 00190 /* #undef HAVE_MUTEX_SPARC_GCC_ASSEMBLY */ 00191 00192 /* Define to 1 if mutexes hold system resources. */ 00193 /* #undef HAVE_MUTEX_SYSTEM_RESOURCES */ 00194 00195 /* Define to 1 to configure mutexes intra-process only. */ 00196 /* #undef HAVE_MUTEX_THREAD_ONLY */ 00197 00198 /* Define to 1 to use the CC compiler and Tru64 assembly language mutexes. */ 00199 /* #undef HAVE_MUTEX_TRU64_CC_ASSEMBLY */ 00200 00201 /* Define to 1 to use the UNIX International mutexes. */ 00202 /* #undef HAVE_MUTEX_UI_THREADS */ 00203 00204 /* Define to 1 to use the UTS compiler and assembly language mutexes. */ 00205 /* #undef HAVE_MUTEX_UTS_CC_ASSEMBLY */ 00206 00207 /* Define to 1 to use VMS mutexes. */ 00208 /* #undef HAVE_MUTEX_VMS */ 00209 00210 /* Define to 1 to use VxWorks mutexes. */ 00211 /* #undef HAVE_MUTEX_VXWORKS */ 00212 00213 /* Define to 1 to use the MSVC compiler and Windows mutexes. */ 00214 #define HAVE_MUTEX_WIN32 1 00215 00216 /* Define to 1 to use the GCC compiler and Windows mutexes. */ 00217 /* #undef HAVE_MUTEX_WIN32_GCC */ 00218 00219 /* Define to 1 to use the GCC compiler and amd64 assembly language mutexes. */ 00220 /* #undef HAVE_MUTEX_X86_64_GCC_ASSEMBLY */ 00221 00222 /* Define to 1 to use the GCC compiler and x86 assembly language mutexes. */ 00223 /* #undef HAVE_MUTEX_X86_GCC_ASSEMBLY */ 00224 00225 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ 00226 /* #undef HAVE_NDIR_H */ 00227 00228 /* Define to 1 if you have the O_DIRECT flag. */ 00229 /* #undef HAVE_O_DIRECT */ 00230 00231 /* Define to 1 if you have the `pread' function. */ 00232 /* #undef HAVE_PREAD */ 00233 00234 /* Define to 1 if you have the `pstat_getdynamic' function. */ 00235 /* #undef HAVE_PSTAT_GETDYNAMIC */ 00236 00237 /* Define to 1 if you have the `pthread_self' function. */ 00238 /* #undef HAVE_PTHREAD_SELF */ 00239 00240 /* Define to 1 if you have the `pwrite' function. */ 00241 /* #undef HAVE_PWRITE */ 00242 00243 /* Define to 1 if building on QNX. */ 00244 /* #undef HAVE_QNX */ 00245 00246 /* Define to 1 if building Queue access method. */ 00247 #ifndef HAVE_SMALLBUILD 00248 #define HAVE_QUEUE 1 00249 #endif 00250 00251 /* Define to 1 if you have the `raise' function. */ 00252 #define HAVE_RAISE 1 00253 00254 /* Define to 1 if you have the `rand' function. */ 00255 #define HAVE_RAND 1 00256 00257 /* Define to 1 if building replication support. */ 00258 #ifndef HAVE_SMALLBUILD 00259 #define HAVE_REPLICATION 1 00260 #endif 00261 00262 /* Define to 1 if building RPC client/server. */ 00263 /* #undef HAVE_RPC */ 00264 00265 /* Define to 1 if you have the `sched_yield' function. */ 00266 /* #undef HAVE_SCHED_YIELD */ 00267 00268 /* Define to 1 if you have the `select' function. */ 00269 /* #undef HAVE_SELECT */ 00270 00271 /* Define to 1 if building sequence support. */ 00272 #define HAVE_SEQUENCE 1 00273 00274 /* Define to 1 if you have the `shmget' function. */ 00275 /* #undef HAVE_SHMGET */ 00276 00277 /* Define to 1 if you have the `snprintf' function. */ 00278 #define HAVE_SNPRINTF 1 00279 00280 /* Define to 1 if you have the `srand' function. */ 00281 #define HAVE_SRAND 1 00282 00283 /* Define to 1 if building statistics support. */ 00284 #define HAVE_STATISTICS 1 00285 00286 /* Define to 1 if you have the <stdint.h> header file. */ 00287 /* #undef HAVE_STDINT_H */ 00288 00289 /* Define to 1 if you have the <stdlib.h> header file. */ 00290 #define HAVE_STDLIB_H 1 00291 00292 /* Define to 1 if you have the `strcasecmp' function. */ 00293 /* #undef HAVE_STRCASECMP */ 00294 00295 /* Define to 1 if you have the `strdup' function. */ 00296 #define HAVE_STRDUP 1 00297 00298 /* Define to 1 if you have the `strerror' function. */ 00299 #define HAVE_STRERROR 1 00300 00301 /* Define to 1 if you have the <strings.h> header file. */ 00302 #define HAVE_STRINGS_H 1 00303 00304 /* Define to 1 if you have the <string.h> header file. */ 00305 #define HAVE_STRING_H 1 00306 00307 /* Define to 1 if you have the `strtol' function. */ 00308 #define HAVE_STRTOL 1 00309 00310 /* Define to 1 if you have the `strtoul' function. */ 00311 #define HAVE_STRTOUL 1 00312 00313 /* Define to 1 if `st_blksize' is member of `struct stat'. */ 00314 /* #undef HAVE_STRUCT_STAT_ST_BLKSIZE */ 00315 00316 /* Define to 1 if you have the `sysconf' function. */ 00317 /* #undef HAVE_SYSCONF */ 00318 00319 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. 00320 */ 00321 /* #undef HAVE_SYS_DIR_H */ 00322 00323 /* Define to 1 if you have the <sys/fcntl.h> header file. */ 00324 #define HAVE_SYS_FCNTL_H 1 00325 00326 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. 00327 */ 00328 /* #undef HAVE_SYS_NDIR_H */ 00329 00330 /* Define to 1 if you have the <sys/select.h> header file. */ 00331 /* #undef HAVE_SYS_SELECT_H */ 00332 00333 /* Define to 1 if you have the <sys/stat.h> header file. */ 00334 #define HAVE_SYS_STAT_H 1 00335 00336 /* Define to 1 if you have the <sys/time.h> header file. */ 00337 /* #undef HAVE_SYS_TIME_H */ 00338 00339 /* Define to 1 if you have the <sys/types.h> header file. */ 00340 #define HAVE_SYS_TYPES_H 1 00341 00342 /* Define to 1 if you have the <unistd.h> header file. */ 00343 /* #undef HAVE_UNISTD_H */ 00344 00345 /* Define to 1 if unlink of file with open file descriptors will fail. */ 00346 /* #undef HAVE_UNLINK_WITH_OPEN_FAILURE */ 00347 00348 /* Define to 1 if building access method verification support. */ 00349 #ifndef HAVE_SMALLBUILD 00350 #define HAVE_VERIFY 1 00351 #endif 00352 00353 /* Define to 1 if you have the `vsnprintf' function. */ 00354 #define HAVE_VSNPRINTF 1 00355 00356 /* Define to 1 if building VxWorks. */ 00357 /* #undef HAVE_VXWORKS */ 00358 00359 /* Define to 1 if you have the `yield' function. */ 00360 /* #undef HAVE_YIELD */ 00361 00362 /* Define to 1 if you have the `_fstati64' function. */ 00363 #define HAVE__FSTATI64 1 00364 00365 /* Define to the address where bug reports for this package should be sent. */ 00366 #define PACKAGE_BUGREPORT "[email protected]" 00367 00368 /* Define to the full name of this package. */ 00369 #define PACKAGE_NAME "Berkeley DB" 00370 00371 /* Define to the full name and version of this package. */ 00372 #define PACKAGE_STRING "Berkeley DB 4.4.16" 00373 00374 /* Define to the one symbol short name of this package. */ 00375 #define PACKAGE_TARNAME "db-4.4.16" 00376 00377 /* Define to the version of this package. */ 00378 #define PACKAGE_VERSION "4.4.16" 00379 00380 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ 00381 /* #undef STAT_MACROS_BROKEN */ 00382 00383 /* Define to 1 if you have the ANSI C header files. */ 00384 #define STDC_HEADERS 1 00385 00386 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 00387 /* #undef TIME_WITH_SYS_TIME */ 00388 00389 /* Define to 1 to mask harmless uninitialized memory read/writes. */ 00390 /* #undef UMRW */ 00391 00392 /* Number of bits in a file offset, on hosts where this is settable. */ 00393 /* #undef _FILE_OFFSET_BITS */ 00394 00395 /* Define for large files, on AIX-style hosts. */ 00396 /* #undef _LARGE_FILES */ 00397 00398 /* Define to empty if `const' does not conform to ANSI C. */ 00399 /* #undef const */ 00400 00401 /* 00402 * Exit success/failure macros. 00403 */ 00404 #ifndef HAVE_EXIT_SUCCESS 00405 #define EXIT_FAILURE 1 00406 #define EXIT_SUCCESS 0 00407 #endif 00408 00409 /* 00410 * Don't step on the namespace. Other libraries may have their own 00411 * implementations of these functions, we don't want to use their 00412 * implementations or force them to use ours based on the load order. 00413 */ 00414 #ifndef HAVE_GETCWD 00415 #define getcwd __db_Cgetcwd 00416 #endif 00417 #ifndef HAVE_MEMCMP 00418 #define memcmp __db_Cmemcmp 00419 #endif 00420 #ifndef HAVE_MEMCPY 00421 #define memcpy __db_Cmemcpy 00422 #endif 00423 #ifndef HAVE_MEMMOVE 00424 #define memmove __db_Cmemmove 00425 #endif 00426 #ifndef HAVE_RAISE 00427 #define raise __db_Craise 00428 #endif 00429 #ifndef HAVE_SNPRINTF 00430 #define snprintf __db_Csnprintf 00431 #endif 00432 #ifndef HAVE_STRCASECMP 00433 #define strcasecmp __db_Cstrcasecmp 00434 #define strncasecmp __db_Cstrncasecmp 00435 #endif 00436 #ifndef HAVE_STRERROR 00437 #define strerror __db_Cstrerror 00438 #endif 00439 #ifndef HAVE_VSNPRINTF 00440 #define vsnprintf __db_Cvsnprintf 00441 #endif 00442 00443 #include "win_db.h" 00444 00445 /* 00446 * Microsoft's compiler _doesn't_ define __STDC__ unless you invoke it with 00447 * arguments turning OFF all vendor extensions. Even more unfortunately, if 00448 * we do that, it fails to parse windows.h!!!!! So, we define __STDC__ here, 00449 * after windows.h comes in. Note: the compiler knows we've defined it, and 00450 * starts enforcing strict ANSI compliance from this point on. 00451 */ 00452 #define __STDC__ 1