summaryrefslogtreecommitdiff
path: root/src/include/port/linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/port/linux.h')
-rw-r--r--src/include/port/linux.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/port/linux.h b/src/include/port/linux.h
index 2ddb34df2c5..3555aba6d04 100644
--- a/src/include/port/linux.h
+++ b/src/include/port/linux.h
@@ -33,7 +33,12 @@ typedef unsigned int slock_t;
#define HAS_TEST_AND_SET
#elif defined(__arm__)
-typedef unsigned char slock_t
+typedef unsigned char slock_t;
+
+#define HAS_TEST_AND_SET
+
+#elif defined(__ia64__)
+typedef unsigned int slock_t;
#define HAS_TEST_AND_SET