1 2 3 4 5 6
#define HAS_TEST_AND_SET #if defined(__powerpc__) typedef unsigned int slock_t; #else typedef unsigned char slock_t; #endif