From ea91a6be89575095f61ebf36d67c2df98be093db Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Fri, 18 Oct 2013 08:14:21 -0400 Subject: Remove IRIX port. Development of IRIX has been discontinued, and support is scheduled to end in December of 2013. Therefore, there will be no supported versions of this operating system by the time PostgreSQL 9.4 is released. Furthermore, we have no maintainer for this platform. --- src/include/port/irix.h | 7 ------- src/include/storage/s_lock.h | 25 ------------------------- 2 files changed, 32 deletions(-) delete mode 100644 src/include/port/irix.h (limited to 'src/include') diff --git a/src/include/port/irix.h b/src/include/port/irix.h deleted file mode 100644 index bb05314a793..00000000000 --- a/src/include/port/irix.h +++ /dev/null @@ -1,7 +0,0 @@ -/* src/include/port/irix.h */ - -/* - * IRIX 6.5.26f and 6.5.22f (at least) have a strtod() that accepts - * "infinity", but leaves endptr pointing to "inity". - */ -#define HAVE_BUGGY_IRIX_STRTOD diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h index 1b493ace4f4..7dcd5d90b21 100644 --- a/src/include/storage/s_lock.h +++ b/src/include/storage/s_lock.h @@ -836,31 +836,6 @@ typedef unsigned int slock_t; #endif /* HPUX on IA64, non gcc */ - -#if defined(__sgi) /* SGI compiler */ -/* - * SGI IRIX 5 - * slock_t is defined as a unsigned long. We use the standard SGI - * mutex API. - * - * The following comment is left for historical reasons, but is probably - * not a good idea since the mutex ABI is supported. - * - * This stuff may be supplemented in the future with Masato Kataoka's MIPS-II - * assembly from his NECEWS SVR4 port, but we probably ought to retain this - * for the R3000 chips out there. - */ -#define HAS_TEST_AND_SET - -typedef unsigned long slock_t; - -#include "mutex.h" -#define TAS(lock) (test_and_set(lock,1)) -#define S_UNLOCK(lock) (test_then_and(lock,0)) -#define S_INIT_LOCK(lock) (test_then_and(lock,0)) -#define S_LOCK_FREE(lock) (test_then_add(lock,0) == 0) -#endif /* __sgi */ - #if defined(_AIX) /* AIX */ /* * AIX (POWER) -- cgit v1.2.3