aboutsummaryrefslogtreecommitdiff
path: root/src/include/port/netbsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/port/netbsd.h')
-rw-r--r--src/include/port/netbsd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/port/netbsd.h b/src/include/port/netbsd.h
index aba5c72fe62..8b841e1a4a2 100644
--- a/src/include/port/netbsd.h
+++ b/src/include/port/netbsd.h
@@ -2,34 +2,40 @@
#define NEED_I386_TAS_ASM
#define HAS_TEST_AND_SET
typedef unsigned char slock_t;
+
#endif
#if defined(__sparc__)
#define NEED_SPARC_TAS_ASM
#define HAS_TEST_AND_SET
typedef unsigned char slock_t;
+
#endif
#if defined(__vax__)
#define NEED_VAX_TAS_ASM
#define HAS_TEST_AND_SET
typedef unsigned char slock_t;
+
#endif
#if defined(__ns32k__)
#define NEED_NS32K_TAS_ASM
#define HAS_TEST_AND_SET
typedef unsigned char slock_t;
+
#endif
#if defined(__m68k__)
#define HAS_TEST_AND_SET
typedef unsigned char slock_t;
+
#endif
#if defined(__arm__)
#define HAS_TEST_AND_SET
typedef unsigned char slock_t;
+
#endif
#if defined(__mips__)
@@ -39,9 +45,11 @@ typedef unsigned char slock_t;
#if defined(__alpha__)
#define HAS_TEST_AND_SET
typedef unsigned long slock_t;
+
#endif
#if defined(__powerpc__)
#define HAS_TEST_AND_SET
typedef unsigned int slock_t;
+
#endif