*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.18 2003/12/22 23:39:53 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.19 2003/12/23 00:32:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
-#if defined(NEED_I386_TAS_ASM)
-/* non gcc i386 based things */
-#endif /* NEED_I386_TAS_ASM */
#endif /* not __GNUC__ */
#if defined(__i386__) || defined(__x86_64__)
-#define NEED_I386_TAS_ASM
typedef unsigned char slock_t;
#endif
#if defined(__ia64)
#if defined(__i386__) || defined(__x86_64__)
-#define NEED_I386_TAS_ASM
#define HAS_TEST_AND_SET
typedef unsigned char slock_t;
#endif
#if defined(__i386__) || defined(__x86_64__)
-#define NEED_I386_TAS_ASM
#define HAS_TEST_AND_SET
typedef unsigned char slock_t;
#endif
#if defined(__i386__) || defined(__x86_64__)
-#define NEED_I386_TAS_ASM
#define HAS_TEST_AND_SET
typedef unsigned char slock_t;
#endif
#define SCO_ACCEPT_BUG
#define HAS_TEST_AND_SET
-#define NEED_I386_TAS_ASM
#define USE_UNIVEL_CC
#define HAS_TEST_AND_SET
-#define NEED_I386_TAS_ASM
/***************************************
* Define this if you are compiling with
#define HAS_TEST_AND_SET
-#define NEED_I386_TAS_ASM
/* see src/backend/libpq/pqcomm.c */
#define SCO_ACCEPT_BUG
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.118 2003/12/22 23:36:38 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.119 2003/12/23 00:32:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
* All non-gcc inlines
*/
-#if defined(NEED_I386_TAS_ASM) && defined(USE_UNIVEL_CC)
+#if defined(USE_UNIVEL_CC)
#define TAS(lock) tas(lock)
asm int
popl %ebx
}
-#endif /* defined(NEED_I386_TAS_ASM) && defined(USE_UNIVEL_CC) */
+#endif /* defined(USE_UNIVEL_CC) */
#endif /* defined(__GNUC__) */