1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Make it compile on Ultrix. Thanks Erik Bertelson.

This commit is contained in:
Bryan Henderson
1996-11-26 03:20:35 +00:00
parent 02c0eb6549
commit 46d58fba33
25 changed files with 66 additions and 36 deletions

View File

@@ -37,6 +37,8 @@
* @(#)utils.h 8.3 (Berkeley) 3/20/94
*/
#include "config.h" /* HAVE_MEMMOVE */
/* utility definitions */
#define DUPMAX 100000000 /* xxx is this right? */
#define INFINITY (DUPMAX + 1)

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: dynamic_loader.h,v 1.2 1996/11/04 08:14:05 scrappy Exp $
* $Id: dynamic_loader.h,v 1.3 1996/11/26 03:20:17 bryanh Exp $
*
*-------------------------------------------------------------------------
*/
@@ -15,6 +15,8 @@
#include <sys/types.h>
#include <postgres.h>
#ifdef MIN
#undef MIN
#undef MAX

View File

@@ -6,13 +6,15 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: palloc.h,v 1.2 1996/10/31 09:51:28 scrappy Exp $
* $Id: palloc.h,v 1.3 1996/11/26 03:20:23 bryanh Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PALLOC_H
#define PALLOC_H
#include <c.h>
extern void* palloc(Size size);
extern void pfree(void *pointer);
extern void *repalloc(void *pointer, Size size);