Remove port.c since it is redundant (well, empty, at least)

Change Makefile to refl removal of portc

Change dynloader.c so that its only used if PRE_BSDI_2_1 is defined
This commit is contained in:
Marc G. Fournier 1997-03-19 03:01:32 +00:00
parent 6ffd26d8eb
commit 861cfd686d
3 changed files with 4 additions and 19 deletions

View 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

View 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

View File

@ -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
*
*-------------------------------------------------------------------------
*/