aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-07-19 18:19:40 +0000
committerBruce Momjian <bruce@momjian.us>1999-07-19 18:19:40 +0000
commite2f32054f4114783186192d987f216598745f855 (patch)
tree92807aa2d5708157e899c79a6bfc5da7ba801e51 /src
parentb653d1e26367c3562f45c25360e0f9790a80048e (diff)
downloadpostgresql-e2f32054f4114783186192d987f216598745f855.tar.gz
postgresql-e2f32054f4114783186192d987f216598745f855.zip
linux/sparc cleanup
Diffstat (limited to 'src')
-rw-r--r--src/include/port/linux.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/port/linux.h b/src/include/port/linux.h
index 3fe4d621b0f..345aac71b1d 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