mirror of
https://github.com/postgres/postgres.git
synced 2025-07-24 14:22:24 +03:00
linux/sparc cleanup
This commit is contained in:
@ -6,22 +6,26 @@
|
||||
*/
|
||||
#define JMP_BUF
|
||||
#define USE_POSIX_TIME
|
||||
#define HAS_TEST_AND_SET
|
||||
|
||||
#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
|
||||
|
||||
|
Reference in New Issue
Block a user