提交 e2f32054 编写于 作者: B Bruce Momjian

linux/sparc cleanup

上级 b653d1e2
...@@ -6,22 +6,26 @@ ...@@ -6,22 +6,26 @@
*/ */
#define JMP_BUF #define JMP_BUF
#define USE_POSIX_TIME #define USE_POSIX_TIME
#define HAS_TEST_AND_SET
#if defined(__i386__) #if defined(__i386__)
typedef unsigned char slock_t; typedef unsigned char slock_t;
#define HAS_TEST_AND_SET
#elif defined(__sparc__) #elif defined(__sparc__)
typedef unsigned char slock_t; typedef unsigned char slock_t;
#define HAS_TEST_AND_SET
#elif defined(__powerpc__) #elif defined(__powerpc__)
typedef unsigned int slock_t; typedef unsigned int slock_t;
#define HAS_TEST_AND_SET
#elif defined(__alpha__) #elif defined(__alpha__)
typedef long int slock_t; typedef long int slock_t;
#define HAS_TEST_AND_SET
#elif defined(__mips__) #elif defined(__mips__)
typedef unsigned int slock_t; typedef unsigned int slock_t;
#define HAS_TEST_AND_SET
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册