You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
postgres/src/include/port/linux.h

27 lines
694 B

/* __USE_POSIX, __USE_BSD, and __USE_BSD_SIGNAL used to be defined either
here or with -D compile options, but __ macros should be set and used by C
library macros, not Postgres code. __USE_POSIX is set by features.h,
__USE_BSD is set by bsd/signal.h, and __USE_BSD_SIGNAL appears not to
be used.
*/
# define JMP_BUF
# define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# define NEED_I386_TAS_ASM
# define HAS_TEST_AND_SET
# if defined(PPC)
typedef unsigned int slock_t;
# else
typedef unsigned char slock_t;
# endif
# if defined(PPC)
# undef NEED_I386_TAS_ASM
# undef HAVE_INT_TIMEZONE
# endif
# if defined(sparc)
# undef NEED_I386_TAS_ASM
# endif