aboutsummaryrefslogtreecommitdiff
path: root/src/port/linux.h
blob: f0e56d3dbab3a641c1815669e0cafe2b9689195f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* __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_SIGNAL
#  if !defined(PPC)
#    define NEED_I386_TAS_ASM
#    define HAS_TEST_AND_SET
     typedef unsigned char slock_t;
#  endif