aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/port/linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/port/linux.h b/src/include/port/linux.h
index 283799c14d6..f6aacc67ff2 100644
--- a/src/include/port/linux.h
+++ b/src/include/port/linux.h
@@ -4,7 +4,7 @@
#endif
-#if defined(__i386__)
+#if defined(__i386__) || defined(__x86_64__)
typedef unsigned char slock_t;
#define HAS_TEST_AND_SET