aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/port/linux.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/port/linux.h b/src/include/port/linux.h
index c7d88e396cd..0453347dac3 100644
--- a/src/include/port/linux.h
+++ b/src/include/port/linux.h
@@ -43,4 +43,9 @@ typedef unsigned int slock_t;
#define HAS_TEST_AND_SET
+#ifif defined(__m68k__)
+typedef unsigned char slock_t;
+
+#define HAS_TEST_AND_SET
+
#endif