summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBruce Momjian2006-01-05 01:56:30 +0000
committerBruce Momjian2006-01-05 01:56:30 +0000
commita1675649e40250cde25cca8e2fe4616b719bf810 (patch)
treeb44f061d52b388360488eed19cb8440b7cb0ebf4 /src/include
parent349f40b2c264cbbfe4c5c7ba783bce58483cefae (diff)
Remove QNX port.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/pg_config_manual.h6
-rw-r--r--src/include/storage/s_lock.h21
2 files changed, 4 insertions, 23 deletions
diff --git a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h
index 0a97859ee2..138251df43 100644
--- a/src/include/pg_config_manual.h
+++ b/src/include/pg_config_manual.h
@@ -6,7 +6,7 @@
* for developers. If you edit any of these, be sure to do a *full*
* rebuild (and an initdb if noted).
*
- * $PostgreSQL: pgsql/src/include/pg_config_manual.h,v 1.18 2005/10/07 20:11:03 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/pg_config_manual.h,v 1.19 2006/01/05 01:56:29 momjian Exp $
*------------------------------------------------------------------------
*/
@@ -155,14 +155,14 @@
/*
* Disable UNIX sockets for those operating system.
*/
-#if defined(__QNX__) || defined(__BEOS__) || defined(WIN32)
+#if defined(__BEOS__) || defined(WIN32)
#undef HAVE_UNIX_SOCKETS
#endif
/*
* Define this if your operating system supports link()
*/
-#if !defined(__QNX__) && !defined(__BEOS__) && \
+#if !defined(__BEOS__) && \
!defined(WIN32) && !defined(__CYGWIN__)
#define HAVE_WORKING_LINK 1
#endif
diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h
index 8d85bfa727..ecd2df22e7 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