Remove port.c since it is redundant (well, empty, at least)
authorMarc G. Fournier <scrappy@hub.org>
Wed, 19 Mar 1997 03:01:32 +0000 (03:01 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Wed, 19 Mar 1997 03:01:32 +0000 (03:01 +0000)
Change Makefile to refl removal of portc

Change dynloader.c so that its only used if PRE_BSDI_2_1 is defined

src/backend/port/bsdi/Makefile
src/backend/port/bsdi/dynloader.c
src/backend/port/bsdi/port.c [deleted file]

index c4b75ed3d7f834265e85b34fa00731fd9443c4bd..1d4f995b25c38d17aa8aa308195929a124f1738d 100644 (file)
@@ -4,7 +4,7 @@
 #    Makefile for port/bsdi
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/backend/port/bsdi/Attic/Makefile,v 1.4 1996/11/09 06:19:06 momjian Exp $
+#    $Header: /cvsroot/pgsql/src/backend/port/bsdi/Attic/Makefile,v 1.5 1997/03/19 03:01:25 scrappy Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -16,11 +16,7 @@ INCLUDE_OPT = -I../.. \
 
 CFLAGS+=$(INCLUDE_OPT)
 
-ifeq ($(PRE_BSDI_2_1), false)
-OBJS = port.o
-else
-OBJS = dynloader.o port.o
-endif
+OBJS = dynloader.o 
 
 all: SUBSYS.o
 
index c167a01897eed77683f9eea5f8f660fc5240b6be..f9b2180f03a4f2cbefbdb26e17fec04cb6106613 100644 (file)
@@ -14,6 +14,7 @@
  *
  *-------------------------------------------------------------------------
  */
+#ifdef PRE_BSDI_2_1
 #include <stdio.h>
 #include <dld.h>
 #include "postgres.h"
@@ -91,3 +92,4 @@ pg_dlerror()
 {
     return dld_strerror(dld_errno);
 }
+#endif
diff --git a/src/backend/port/bsdi/port.c b/src/backend/port/bsdi/port.c
deleted file mode 100644 (file)
index 8819b1a..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-/*-------------------------------------------------------------------------
- *
- * port.c--
- *    Linux-specific routines
- *
- * Copyright (c) 1994, Regents of the University of California
- *
- *
- * IDENTIFICATION
- *    /usr/local/devel/pglite/cvs/src/backend/port/linux/port.c,v 1.1.1.1 1994/11/07 05:19:38 andrew Exp
- *
- *-------------------------------------------------------------------------
- */