aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1996-10-18 00:33:41 +0000
committerMarc G. Fournier <scrappy@hub.org>1996-10-18 00:33:41 +0000
commitd16bc9ce372f0e5860401d503a28c98764aa2174 (patch)
tree2c75dba47d786ce458005b062e4d79d242de754a /src/backend
parenta839456c417fbd87420726ff68048178038bb3ca (diff)
downloadpostgresql-d16bc9ce372f0e5860401d503a28c98764aa2174.tar.gz
postgresql-d16bc9ce372f0e5860401d503a28c98764aa2174.zip
Centralize more of the defines from backend/port under config.h
Further ports should *really* avoid backend/port and make use of config.h
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/port/bsdi/Makefile.inc1
-rw-r--r--src/backend/port/bsdi_2_1/Makefile.inc1
-rw-r--r--src/backend/port/dgux/Makefile.inc4
-rw-r--r--src/backend/port/hpux/Makefile.inc11
-rw-r--r--src/backend/port/linux/Makefile.inc4
-rw-r--r--src/backend/port/win32/nt.h4
6 files changed, 3 insertions, 22 deletions
diff --git a/src/backend/port/bsdi/Makefile.inc b/src/backend/port/bsdi/Makefile.inc
index 96eb2c5fc43..347ded2c668 100644
--- a/src/backend/port/bsdi/Makefile.inc
+++ b/src/backend/port/bsdi/Makefile.inc
@@ -10,6 +10,5 @@
#
#-------------------------------------------------------------------------
-CFLAGS+=-DUSE_POSIX_TIME -DNEED_CBRT
LDADD+= -ldld -lipc
SUBSRCS= dynloader.c
diff --git a/src/backend/port/bsdi_2_1/Makefile.inc b/src/backend/port/bsdi_2_1/Makefile.inc
index a5592e18d4d..cb9bd71e88a 100644
--- a/src/backend/port/bsdi_2_1/Makefile.inc
+++ b/src/backend/port/bsdi_2_1/Makefile.inc
@@ -10,5 +10,4 @@
#
#-------------------------------------------------------------------------
-CFLAGS+=-DUSE_POSIX_TIME -DNEED_CBRT
LDADD+= -ldl -lipc
diff --git a/src/backend/port/dgux/Makefile.inc b/src/backend/port/dgux/Makefile.inc
index 407e440b3d2..b735b8a6301 100644
--- a/src/backend/port/dgux/Makefile.inc
+++ b/src/backend/port/dgux/Makefile.inc
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/backend/port/dgux/Attic/Makefile.inc,v 1.1 1996/07/25 20:43:56 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/backend/port/dgux/Attic/Makefile.inc,v 1.2 1996/10/18 00:33:14 scrappy Exp $
#
# NOTES
# The Linux port is included here by courtesy of Kai Petzke.
@@ -21,5 +21,3 @@ BIGOBJS= false
CFLAGS+= -DLINUX_ELF
HEADERS+= machine.h port-protos.h
-CFLAGS+= #-DNEED_CBRT
-
diff --git a/src/backend/port/hpux/Makefile.inc b/src/backend/port/hpux/Makefile.inc
index 4ff60d20195..af338020112 100644
--- a/src/backend/port/hpux/Makefile.inc
+++ b/src/backend/port/hpux/Makefile.inc
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/backend/port/hpux/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:43 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/backend/port/hpux/Attic/Makefile.inc,v 1.2 1996/10/18 00:33:22 scrappy Exp $
#
#-------------------------------------------------------------------------
@@ -29,15 +29,6 @@ LDADD+= -ll /usr/lib/libdld.sl
endif
endif
-CFLAGS+= -DUSE_POSIX_TIME
-
-#
-# cbrt(3m) and rint(3m) are missing from 8.07.
-# cbrt(3m) and rint(3m) are broken in 9.01.
-# cbrt(3m) seems to be missing on 9.00 even though it is documented.
-#
-CFLAGS+= -DNEED_RINT -DNEED_CBRT
-
#
# The #pragma trick required on 8.07 no longer works -- the #pragma
# is thoroughly broken. However, the +u flag has been extended to
diff --git a/src/backend/port/linux/Makefile.inc b/src/backend/port/linux/Makefile.inc
index cc35929a260..00ed140f3b7 100644
--- a/src/backend/port/linux/Makefile.inc
+++ b/src/backend/port/linux/Makefile.inc
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/backend/port/linux/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:44 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/backend/port/linux/Attic/Makefile.inc,v 1.2 1996/10/18 00:33:32 scrappy Exp $
#
# NOTES
# The Linux port is included here by courtesy of Kai Petzke.
@@ -32,5 +32,3 @@ SUBSRCS+= dynloader.c
endif
HEADERS+= machine.h port-protos.h
-CFLAGS+= -DNEED_CBRT
-
diff --git a/src/backend/port/win32/nt.h b/src/backend/port/win32/nt.h
index abe3519ab5c..a879e37f166 100644
--- a/src/backend/port/win32/nt.h
+++ b/src/backend/port/win32/nt.h
@@ -46,9 +46,5 @@ struct sembuf
#define GETNCNT 5
#define GETVAL 6
-/* for float.c */
-#define NEED_CBRT
-#define NEED_ISINF
-
#define POSTGRESDIR "d:\\pglite"
#define PGDATADIR "d:\\pglite\\data"