aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1996-08-19 13:52:54 +0000
committerMarc G. Fournier <scrappy@hub.org>1996-08-19 13:52:54 +0000
commit926a066d407e3d968cb5ce8c56fbdf43ee7d2aeb (patch)
tree9f88ce19b16fa32614a4552d828dc5c86f0fd9bf /src/backend/utils
parent0e9f4ceae0772a377a2e0b6b50bd5897c2a0f7f4 (diff)
downloadpostgresql-926a066d407e3d968cb5ce8c56fbdf43ee7d2aeb.tar.gz
postgresql-926a066d407e3d968cb5ce8c56fbdf43ee7d2aeb.zip
Added a SVR4 port
--- below my signature, there are a coupls of diffs and files in a shell archive, which were needed to build postgres95 1.02 on Siemens Nixdorfs MIPS based SINIX systems. Except for the compiler switches "-W0" and "-LD-Blargedynsym" these diffs should also apply for other SVR4 based systems. The changes in "Makefile.global" and "genbki.sh" can probably be ignored (I needed gawk, to make the script run). There is one bugfix thou. In "src/backend/parser/sysfunc.c" the function in this file didn't honor the EUROPEAN_DATES ifdef. --- Submitted by: Frank Ridderbusch <ridderbusch.pad@sni.de>
Diffstat (limited to 'src/backend/utils')
-rw-r--r--src/backend/utils/adt/float.c4
-rw-r--r--src/backend/utils/adt/nabstime.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/backend/utils/adt/float.c b/src/backend/utils/adt/float.c
index f4b3bef5438..82caf28c8f4 100644
--- a/src/backend/utils/adt/float.c
+++ b/src/backend/utils/adt/float.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.2 1996/07/20 08:36:17 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.3 1996/08/19 13:52:35 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1275,7 +1275,7 @@ static int isinf(x)
}
#endif /* PORTNAME_alpha */
-#if defined(PORTNAME_sparc_solaris)||defined(PORTNAME_i386_solaris)
+#if defined(PORTNAME_sparc_solaris)||defined(PORTNAME_i386_solaris) || defined(PORTNAME_svr4)
#include <ieeefp.h>
static int
isinf(d)
diff --git a/src/backend/utils/adt/nabstime.c b/src/backend/utils/adt/nabstime.c
index 3faa3a216f9..875aa1d82e1 100644
--- a/src/backend/utils/adt/nabstime.c
+++ b/src/backend/utils/adt/nabstime.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.3 1996/07/22 21:56:03 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.4 1996/08/19 13:52:40 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -296,6 +296,7 @@ tryabsdate(char *fields[], int nf, struct tm *tm, int *tzp)
defined(PORTNAME_i386_solaris) || \
defined(PORTNAME_irix5) || \
defined(PORTNAME_sparc_solaris) || \
+ defined(PORTNAME_svr4) || \
defined(WIN32)
tzset();
#ifndef WIN32