diff options
Diffstat (limited to 'src/include/port/linux.h')
-rw-r--r-- | src/include/port/linux.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/port/linux.h b/src/include/port/linux.h index 2de8fc8e7ec..d82103b879b 100644 --- a/src/include/port/linux.h +++ b/src/include/port/linux.h @@ -9,22 +9,27 @@ #if defined(__i386__) typedef unsigned char slock_t; + #define HAS_TEST_AND_SET #elif defined(__sparc__) typedef unsigned char slock_t; + #define HAS_TEST_AND_SET #elif defined(__powerpc__) typedef unsigned int slock_t; + #define HAS_TEST_AND_SET #elif defined(__alpha__) typedef long int slock_t; + #define HAS_TEST_AND_SET #elif defined(__mips__) typedef unsigned int slock_t; + #define HAS_TEST_AND_SET #endif |