OSDN Git Service

linux/sparc cleanup
authorBruce Momjian <bruce@momjian.us>
Mon, 19 Jul 1999 18:19:40 +0000 (18:19 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 19 Jul 1999 18:19:40 +0000 (18:19 +0000)
src/include/port/linux.h

index 3fe4d62..345aac7 100644 (file)
@@ -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