Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 861cfd6

Browse files
committed
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
1 parent 6ffd26d commit 861cfd6

File tree

3 files changed

+4
-19
lines changed

3 files changed

+4
-19
lines changed

src/backend/port/bsdi/Makefile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for port/bsdi
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/port/bsdi/Attic/Makefile,v 1.4 1996/11/09 06:19:06 momjian Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/port/bsdi/Attic/Makefile,v 1.5 1997/03/19 03:01:25 scrappy Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -16,11 +16,7 @@ INCLUDE_OPT = -I../.. \
1616

1717
CFLAGS+=$(INCLUDE_OPT)
1818

19-
ifeq ($(PRE_BSDI_2_1), false)
20-
OBJS = port.o
21-
else
22-
OBJS = dynloader.o port.o
23-
endif
19+
OBJS = dynloader.o
2420

2521
all: SUBSYS.o
2622

src/backend/port/bsdi/dynloader.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
17+
#ifdef PRE_BSDI_2_1
1718
#include <stdio.h>
1819
#include <dld.h>
1920
#include "postgres.h"
@@ -91,3 +92,4 @@ pg_dlerror()
9192
{
9293
return dld_strerror(dld_errno);
9394
}
95+
#endif

src/backend/port/bsdi/port.c

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)