diff --git a/src/include/port/linux.h b/src/include/port/linux.h
index 03fa6c0edd1db8a88640db2cbad32d7769a648f8..159db3194f17a14d7a151564630df2a3bd4aa552 100644
--- a/src/include/port/linux.h
+++ b/src/include/port/linux.h
@@ -43,7 +43,7 @@ typedef unsigned int slock_t;
 
 #define HAS_TEST_AND_SET
 
-#elif defined(__m68k__)
+#elif defined(__mc68000__)
 typedef unsigned char slock_t;
 
 #define HAS_TEST_AND_SET