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 d4da17da45c..283799c14d6 100644 --- a/src/include/port/linux.h +++ b/src/include/port/linux.h @@ -14,6 +14,11 @@ typedef unsigned char slock_t; #define HAS_TEST_AND_SET +#elif defined(__powerpc64__) +typedef unsigned long slock_t; + +#define HAS_TEST_AND_SET + #elif defined(__powerpc__) typedef unsigned int slock_t; |