aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/port/freebsd.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/include/port/freebsd.h b/src/include/port/freebsd.h
index ec92644a15e..a8eeac760c1 100644
--- a/src/include/port/freebsd.h
+++ b/src/include/port/freebsd.h
@@ -1,5 +1,5 @@
#if defined(__i386__)
-#define NEED_I386_TAS_ASM
+typedef unsigned char slock_t;
#define HAS_TEST_AND_SET
#endif
@@ -8,6 +8,11 @@
#define HAS_TEST_AND_SET
#endif
+#if defined(__alpha__)
+typedef long int slock_t;
+#define HAS_TEST_AND_SET
+#endif
+
#if defined(__vax__)
#define NEED_VAX_TAS_ASM
#define HAS_TEST_AND_SET
@@ -25,5 +30,3 @@
#if defined(__mips__)
/* # undef HAS_TEST_AND_SET */
#endif
-
-typedef unsigned char slock_t;