mirror of
https://github.com/postgres/postgres.git
synced 2026-03-21 10:00:08 -04:00
41 lines
678 B
C
41 lines
678 B
C
#if defined(__i386__)
|
|
typedef unsigned char slock_t;
|
|
|
|
#define HAS_TEST_AND_SET
|
|
|
|
#elif defined(__sparc__)
|
|
typedef unsigned char slock_t;
|
|
|
|
#define HAS_TEST_AND_SET
|
|
|
|
#elif defined(__powerpc__)
|
|
typedef unsigned int slock_t;
|
|
|
|
#define HAS_TEST_AND_SET
|
|
|
|
#elif defined(__alpha__)
|
|
typedef long int slock_t;
|
|
|
|
#define HAS_TEST_AND_SET
|
|
|
|
#elif defined(__mips__)
|
|
typedef unsigned int slock_t;
|
|
|
|
#define HAS_TEST_AND_SET
|
|
|
|
#elif defined(__arm__)
|
|
typedef unsigned char slock_t;
|
|
|
|
#define HAS_TEST_AND_SET
|
|
|
|
#elif defined(__ia64__)
|
|
typedef unsigned int slock_t;
|
|
|
|
#define HAS_TEST_AND_SET
|
|
|
|
#elif defined(__s390__) || defined(__s390x__)
|
|
typedef unsigned int slock_t;
|
|
|
|
#define HAS_TEST_AND_SET
|
|
|
|
#endif
|