mirror of
https://github.com/postgres/postgres.git
synced 2025-11-06 07:49:08 +03:00
fix: BSDi 2.1 requires a port seperate from BSDi 2.0{.1}
submitted by: Bruce Momjian (root@candle.pha.pa.us)
This commit is contained in:
14
src/backend/port/bsdi_2_1/Makefile.inc
Normal file
14
src/backend/port/bsdi_2_1/Makefile.inc
Normal file
@@ -0,0 +1,14 @@
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Makefile.inc--
|
||||
# Makefile for port/bsdi_2_1
|
||||
#
|
||||
# NOTES
|
||||
# The BSD/OS port is included here by courtesy of Kurt Lidl.
|
||||
#
|
||||
# (5) 1994, Kurt Lidl, lidl@pix.com
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
CFLAGS+=-DUSE_POSIX_TIME -DNEED_CBRT
|
||||
LDADD+= -ldl -lipc
|
||||
18
src/backend/port/bsdi_2_1/machine.h
Normal file
18
src/backend/port/bsdi_2_1/machine.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* machine.h--
|
||||
*
|
||||
*
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* machine.h,v 1.1.1.1 1994/11/07 05:19:37 andrew Exp
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#ifndef MACHINE_H
|
||||
#define MACHINE_H
|
||||
|
||||
#define BLCKSZ 8192
|
||||
|
||||
#endif
|
||||
28
src/backend/port/bsdi_2_1/port-protos.h
Normal file
28
src/backend/port/bsdi_2_1/port-protos.h
Normal file
@@ -0,0 +1,28 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* port-protos.h--
|
||||
* port-specific prototypes for SunOS 4
|
||||
*
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* port-protos.h,v 1.2 1995/05/25 22:51:03 andrew Exp
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#ifndef PORT_PROTOS_H
|
||||
#define PORT_PROTOS_H
|
||||
|
||||
#include "fmgr.h" /* for func_ptr */
|
||||
#include "utils/dynamic_loader.h"
|
||||
|
||||
/* dynloader.c */
|
||||
|
||||
#define pg_dlopen(f) dlopen(f, 1)
|
||||
#define pg_dlsym dlsym
|
||||
#define pg_dlclose dlclose
|
||||
#define pg_dlerror dlerror
|
||||
|
||||
/* port.c */
|
||||
|
||||
#endif /* PORT_PROTOS_H */
|
||||
13
src/backend/port/bsdi_2_1/port.c
Normal file
13
src/backend/port/bsdi_2_1/port.c
Normal file
@@ -0,0 +1,13 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
Reference in New Issue
Block a user