diff --git a/src/include/port/linux.h b/src/include/port/linux.h
index 0453347dac3b085d5cbf21673b91c3727a244835..03fa6c0edd1db8a88640db2cbad32d7769a648f8 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
 
-#ifif defined(__m68k__)
+#elif defined(__m68k__)
 typedef unsigned char slock_t;
 
 #define HAS_TEST_AND_SET