mirror of
https://github.com/postgres/postgres.git
synced 2025-11-18 02:02:55 +03:00
Move slock_t typdefs into s_lock.h from include/port files for
centralization and easier maintanence.
This commit is contained in:
@@ -1,51 +0,0 @@
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
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(__powerpc64__)
|
||||
typedef unsigned long 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
|
||||
|
||||
#elif defined(__arm__)
|
||||
typedef unsigned char slock_t;
|
||||
|
||||
#define HAS_TEST_AND_SET
|
||||
|
||||
#elif defined(__ia64__)
|
||||
typedef unsigned int slock_t;
|
||||
|
||||
#define HAS_TEST_AND_SET
|
||||
|
||||
#elif defined(__s390__) || defined(__s390x__)
|
||||
typedef unsigned int slock_t;
|
||||
|
||||
#define HAS_TEST_AND_SET
|
||||
|
||||
#elif defined(__mc68000__)
|
||||
typedef unsigned char slock_t;
|
||||
|
||||
#define HAS_TEST_AND_SET
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user