aboutsummaryrefslogtreecommitdiff
path: root/src/include/storage/s_lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/storage/s_lock.h')
-rw-r--r--src/include/storage/s_lock.h21
1 files changed, 1 insertions, 20 deletions
diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h
index 8d85bfa727d..ecd2df22e73 100644
--- a/src/include/storage/s_lock.h
+++ b/src/include/storage/s_lock.h
@@ -66,7 +66,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.146 2005/12/30 21:43:41 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.147 2006/01/05 01:56:30 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -684,25 +684,6 @@ typedef unsigned int slock_t;
#endif /* HPUX on IA64, non gcc */
-#if defined(__QNX__) && defined(__WATCOMC__) /* QNX */
-/*
- * QNX 4 using WATCOM C
- */
-#define HAS_TEST_AND_SET
-
-typedef unsigned char slock_t;
-
-#define TAS(lock) wc_tas(lock)
-extern slock_t wc_tas(volatile slock_t *lock);
-#pragma aux wc_tas =\
- " mov al,1 " \
- " lock xchg al,[esi]" \
- parm [esi] \
- value [al];
-
-#endif /* __QNX__ and __WATCOMC__*/
-
-
#if defined(__sgi) /* SGI compiler */
/*
* SGI IRIX 5