mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
whitespace is unimportant in assembly code. Also, move VAX definition of typedef slock_t to port header files to be like all the other ports. Note that netbsd.h and openbsd.h are now identical, and I rather think that freebsd.h is broken in the places where it doesn't agree --- but I'll leave it to the freebsders to look at that.
48 lines
856 B
C
48 lines
856 B
C
#if defined(__i386__)
|
|
#define NEED_I386_TAS_ASM
|
|
#define HAS_TEST_AND_SET
|
|
typedef unsigned char slock_t;
|
|
#endif
|
|
|
|
#if defined(__sparc__)
|
|
#define NEED_SPARC_TAS_ASM
|
|
#define HAS_TEST_AND_SET
|
|
typedef unsigned char slock_t;
|
|
#endif
|
|
|
|
#if defined(__vax__)
|
|
#define NEED_VAX_TAS_ASM
|
|
#define HAS_TEST_AND_SET
|
|
typedef unsigned char slock_t;
|
|
#endif
|
|
|
|
#if defined(__ns32k__)
|
|
#define NEED_NS32K_TAS_ASM
|
|
#define HAS_TEST_AND_SET
|
|
typedef unsigned char slock_t;
|
|
#endif
|
|
|
|
#if defined(__m68k__)
|
|
#define HAS_TEST_AND_SET
|
|
typedef unsigned char slock_t;
|
|
#endif
|
|
|
|
#if defined(__arm__)
|
|
#define HAS_TEST_AND_SET
|
|
typedef unsigned char slock_t;
|
|
#endif
|
|
|
|
#if defined(__mips__)
|
|
/* # undef HAS_TEST_AND_SET */
|
|
#endif
|
|
|
|
#if defined(__alpha__)
|
|
#define HAS_TEST_AND_SET
|
|
typedef unsigned long slock_t;
|
|
#endif
|
|
|
|
#if defined(__powerpc__)
|
|
#define HAS_TEST_AND_SET
|
|
typedef unsigned int slock_t;
|
|
#endif
|