From: Bruce Momjian Date: Mon, 19 Jul 1999 18:19:40 +0000 (+0000) Subject: linux/sparc cleanup X-Git-Tag: REL7_0~1694 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e2f32054f4114783186192d987f216598745f855;p=postgresql linux/sparc cleanup --- diff --git a/src/include/port/linux.h b/src/include/port/linux.h index 3fe4d621b0..345aac71b1 100644 --- a/src/include/port/linux.h +++ b/src/include/port/linux.h @@ -6,22 +6,26 @@ */ #define JMP_BUF #define USE_POSIX_TIME -#define HAS_TEST_AND_SET #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 #endif