mirror of
https://github.com/postgres/postgres.git
synced 2025-12-12 00:04:53 -05:00
39 lines
874 B
C
39 lines
874 B
C
# define USE_POSIX_TIME
|
|
# define USE_POSIX_SIGNALS
|
|
# define NO_EMPTY_STMTS
|
|
# define SYSV_DIRENT
|
|
# define HAS_TEST_AND_SET
|
|
typedef unsigned char slock_t;
|
|
|
|
#include <sys/isa_defs.h>
|
|
|
|
#ifndef BYTE_ORDER
|
|
#define BYTE_ORDER LITTLE_ENDIAN
|
|
#endif
|
|
|
|
#ifndef NAN
|
|
|
|
#ifndef __nan_bytes
|
|
#define __nan_bytes { 0, 0, 0, 0, 0, 0, 0xf8, 0x7f }
|
|
#endif /* __nan_bytes */
|
|
|
|
#ifdef __GNUC__
|
|
#define NAN \
|
|
(__extension__ ((union { unsigned char __c[8]; \
|
|
double __d; }) \
|
|
{ __nan_bytes }).__d)
|
|
|
|
#else /* Not GCC. */
|
|
#define NAN (*(__const double *) __nan)
|
|
#endif /* GCC. */
|
|
#endif /* NAN */
|
|
|
|
#ifndef index
|
|
#define index strchr
|
|
#endif
|
|
|
|
#ifndef HAVE_RUSAGE
|
|
#define HAVE_RUSAGE 1
|
|
#endif
|
|
|