зеркало из https://github.com/mozilla/gecko-dev.git
242 строки
5.7 KiB
C
242 строки
5.7 KiB
C
/*
|
|
* @(#)config.h 10.6 (Sleepycat) 5/2/98
|
|
*
|
|
* Generated by hand.
|
|
*/
|
|
|
|
/* Define to empty if the keyword does not work. */
|
|
/* #undef const */
|
|
|
|
/* Define if your struct stat has st_blksize. */
|
|
/* #undef HAVE_ST_BLKSIZE */
|
|
|
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
|
#define mode_t int
|
|
|
|
/* Define to `long' if <sys/types.h> doesn't define. */
|
|
/* #undef off_t */
|
|
|
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
|
#define pid_t long
|
|
|
|
/* Define to `unsigned' if <sys/types.h> doesn't define. */
|
|
/* #undef size_t */
|
|
|
|
/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
|
|
/* #undef STAT_MACROS_BROKEN */
|
|
|
|
/* Define if you have the ANSI C header files. */
|
|
#define STDC_HEADERS 1
|
|
|
|
/* Define if your processor stores words with the most significant
|
|
byte first (like Motorola and SPARC, unlike Intel and VAX). */
|
|
/* #undef WORDS_BIGENDIAN */
|
|
|
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
|
typedef int ssize_t;
|
|
|
|
/* Define if you want a debugging version. */
|
|
/* #undef DEBUG */
|
|
#if defined(_DEBUG)
|
|
#if !defined(DEBUG)
|
|
#define DEBUG 1
|
|
#endif
|
|
#endif
|
|
|
|
/* Define if you want a version with run-time diagnostic checking. */
|
|
/* #undef DIAGNOSTIC */
|
|
|
|
/* Define if you have sigfillset (and sigprocmask). */
|
|
/* #undef HAVE_SIGFILLSET */
|
|
|
|
/* Define if building on AIX, HP, Solaris to get big-file environment. */
|
|
/* #undef HAVE_FILE_OFFSET_BITS */
|
|
#ifdef HAVE_FILE_OFFSET_BITS
|
|
#define _FILE_OFFSET_BITS 64
|
|
#endif
|
|
|
|
/* Define if you have spinlocks. */
|
|
#define HAVE_SPINLOCKS 1
|
|
|
|
/* Define if you want to use mc68020/gcc assembly spinlocks. */
|
|
/* #undef HAVE_ASSEM_MC68020_GCC */
|
|
|
|
/* Define if you want to use parisc/gcc assembly spinlocks. */
|
|
/* #undef HAVE_ASSEM_PARISC_GCC */
|
|
|
|
/* Define if you want to use sco/cc assembly spinlocks. */
|
|
/* #undef HAVE_ASSEM_SCO_CC */
|
|
|
|
/* Define if you want to use sparc/gcc assembly spinlocks. */
|
|
/* #undef HAVE_ASSEM_SPARC_GCC */
|
|
|
|
/* Define if you want to use uts4/cc assembly spinlocks. */
|
|
/* #undef HAVE_ASSEM_UTS4_CC */
|
|
|
|
/* Define if you want to use x86/gcc assembly spinlocks. */
|
|
/* #undef HAVE_ASSEM_X86_GCC */
|
|
|
|
/* Define if you have the AIX _check_lock spinlocks. */
|
|
/* #undef HAVE_FUNC_AIX */
|
|
|
|
/* Define if you have the OSF1 or HPPA msemaphore spinlocks. */
|
|
/* #undef HAVE_FUNC_MSEM */
|
|
|
|
/* Define if you have the SGI abilock_t spinlocks. */
|
|
/* #undef HAVE_FUNC_SGI */
|
|
|
|
/* Define if you have the ReliantUNIX spinlock_t spinlocks. */
|
|
/* #undef HAVE_FUNC_RELIANT */
|
|
|
|
/* Define if you have the Solaris mutex_t spinlocks. */
|
|
/* #undef HAVE_FUNC_SOLARIS */
|
|
|
|
/* Define if your sprintf returns a pointer, not a length. */
|
|
/* #undef SPRINTF_RET_CHARPNT */
|
|
|
|
/* Define if you have the directio function. */
|
|
/* #undef HAVE_DIRECTIO */
|
|
|
|
/* Define if you have the getcwd function. */
|
|
#define HAVE_GETCWD
|
|
|
|
/* Define if you have the getopt function. */
|
|
/* #undef HAVE_GETOPT */
|
|
extern int getopt(int, char * const *, const char *);
|
|
|
|
/* Define if you have the getuid function. */
|
|
/* #undef HAVE_GETUID */
|
|
|
|
/* Define if you have the memcmp function. */
|
|
#define HAVE_MEMCMP 1
|
|
|
|
/* Define if you have the memcpy function. */
|
|
#define HAVE_MEMCPY 1
|
|
|
|
/* Define if you have the memmove function. */
|
|
#define HAVE_MEMMOVE 1
|
|
|
|
/* Define if you have the mmap function. */
|
|
/* #undef HAVE_MMAP */
|
|
|
|
/* Define if you have the raise function. */
|
|
#define HAVE_RAISE 1
|
|
|
|
/* Define if you have the select function. */
|
|
/* #undef HAVE_SELECT */
|
|
|
|
/* Define if you have the shmget function. */
|
|
/* #undef HAVE_SHMGET */
|
|
|
|
/* Define if you have the snprintf function. */
|
|
#define HAVE_SNPRINTF 1
|
|
|
|
/* Define if you have the strerror function. */
|
|
#define HAVE_STRERROR 1
|
|
|
|
/* Define if you have the strsep function. */
|
|
/* #undef HAVE_STRSEP */
|
|
|
|
/* Define if you have the sysconf function. */
|
|
/* #undef HAVE_SYSCONF */
|
|
|
|
/* Define if you have the vsnprintf function. */
|
|
#define HAVE_VSNPRINTF 1
|
|
|
|
/* Define if you have the <dirent.h> header file. */
|
|
/* #undef HAVE_DIRENT_H */
|
|
|
|
/* Define if you have the <ndir.h> header file. */
|
|
/* #undef HAVE_NDIR_H */
|
|
|
|
/* Define if you have the <sys/dir.h> header file. */
|
|
/* #undef HAVE_SYS_DIR_H */
|
|
|
|
/* Define if you have the <sys/ndir.h> header file. */
|
|
/* #undef HAVE_SYS_NDIR_H */
|
|
|
|
/* Define if you have the <sys/select.h> header file. */
|
|
/* #undef HAVE_SYS_SELECT_H */
|
|
|
|
/* Define if you have the <sys/time.h> header file. */
|
|
/* #undef HAVE_SYS_TIME_H */
|
|
|
|
/*
|
|
* XXX
|
|
* The following is not part of the automatic configuration setup,
|
|
* but provides the information necessary to build DB.
|
|
*/
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
|
|
#include <errno.h>
|
|
#include <fcntl.h>
|
|
#include <io.h>
|
|
#include <limits.h>
|
|
#include <memory.h>
|
|
#include <process.h>
|
|
#include <signal.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <time.h>
|
|
#include <direct.h>
|
|
#include <string.h>
|
|
#include <stdarg.h>
|
|
#include <ctype.h>
|
|
#include <dos.h>
|
|
#include <i86.h>
|
|
|
|
#if defined(__cplusplus)
|
|
#include <iostream.h>
|
|
#endif
|
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#include <windows.h>
|
|
|
|
#include "queue.h"
|
|
#include "shqueue.h"
|
|
|
|
#define snprintf _snprintf
|
|
#define vsnprintf _vsnprintf
|
|
|
|
#define NO_SYSTEM_INCLUDES
|
|
|
|
/*
|
|
* Arrange to use the far versions of these functions by default.
|
|
*/
|
|
#define memcmp _fmemcmp
|
|
#define memcpy _fmemcpy
|
|
#define memmove _fmemmove
|
|
#define strdup _fstrdup
|
|
|
|
/*
|
|
* Callbacks need to be so tagged.
|
|
*/
|
|
#define DB_CALLBACK __cdecl __loadds
|
|
|
|
/*
|
|
* The maximum region on Win16 is 64K.
|
|
*/
|
|
#define DB_REGIONSIZE_MAX (64 * 1024)
|
|
|
|
/*
|
|
* include/lock.h:
|
|
* The maximum region size on Win16 is 64K.
|
|
*/
|
|
#define DB_LOCK_DEFAULT_N 400
|
|
|
|
/*
|
|
* include/mp.h:
|
|
* The maximum region size on Win16 is 64K.
|
|
*/
|
|
#define DB_CACHESIZE_DEF DB_REGIONSIZE_MAX
|
|
|
|
/*
|
|
* include/log.h:
|
|
* File names can only have 3 characters after the dot.
|
|
*/
|
|
#define MAXLFNAME 999 /* Maximum log file name. */
|
|
#define LFNAME "log.%03d" /* Log file name template. */
|
|
|
|
#define WIN16
|