summaryrefslogtreecommitdiff
path: root/src/include/port/bsdi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/port/bsdi.h')
-rw-r--r--src/include/port/bsdi.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/include/port/bsdi.h b/src/include/port/bsdi.h
index f4865361132..c1ec729d81f 100644
--- a/src/include/port/bsdi.h
+++ b/src/include/port/bsdi.h
@@ -1,10 +1,14 @@
-#if defined(__i386__)
+#if defined(__i386__) || defined(__x86_64__)
#define NEED_I386_TAS_ASM
+typedef unsigned char slock_t;
+#endif
+#if defined(__ia64)
+typedef unsigned int slock_t;
#endif
#if defined(__sparc__)
#define NEED_SPARC_TAS_ASM
+typedef unsigned char slock_t;
#endif
#define HAS_TEST_AND_SET
-typedef unsigned char slock_t;