mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-02 03:31:15 +02:00
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:
parent
6ffd26d8eb
commit
861cfd686d
@ -4,7 +4,7 @@
|
|||||||
# Makefile for port/bsdi
|
# Makefile for port/bsdi
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# 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)
|
CFLAGS+=$(INCLUDE_OPT)
|
||||||
|
|
||||||
ifeq ($(PRE_BSDI_2_1), false)
|
OBJS = dynloader.o
|
||||||
OBJS = port.o
|
|
||||||
else
|
|
||||||
OBJS = dynloader.o port.o
|
|
||||||
endif
|
|
||||||
|
|
||||||
all: SUBSYS.o
|
all: SUBSYS.o
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
#ifdef PRE_BSDI_2_1
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <dld.h>
|
#include <dld.h>
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
@ -91,3 +92,4 @@ pg_dlerror()
|
|||||||
{
|
{
|
||||||
return dld_strerror(dld_errno);
|
return dld_strerror(dld_errno);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
@ -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
|
|
||||||
*
|
|
||||||
*-------------------------------------------------------------------------
|
|
||||||
*/
|
|
Loading…
Reference in New Issue
Block a user