Commit 861cfd68 authored by Marc G. Fournier's avatar Marc G. Fournier

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
parent 6ffd26d8
......@@ -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
......
......@@ -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
/*-------------------------------------------------------------------------
*
* 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
*
*-------------------------------------------------------------------------
*/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment