mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Here's the final set of patches to 6.0 (sup'd on 27/12/96) that allow a full
gmake of the code without interruption. There's also some tidy-up of the MAXPATHLEN stuff based on the assumption that all supported platforms have MAXPATHLEN defined in <sys/param.h>. (The only unknowns for the above are AIX and IRIX5.)
This commit is contained in:
@@ -8,13 +8,6 @@
|
||||
|
||||
#define BLCKSZ 8192
|
||||
|
||||
/* Found in catalog/catalog.c, but doesn't seem to do anything in there */
|
||||
#if !defined(sparc_solaris)
|
||||
#ifndef MAXPATHLEN
|
||||
#define MAXPATHLEN 80
|
||||
#endif
|
||||
#endif /* !defined(sparc_solaris) */
|
||||
|
||||
#if defined(aix)
|
||||
#define TERMIOS_H_LOCATION <termios.h>
|
||||
#else
|
||||
@@ -200,6 +193,9 @@ typedef unsigned char slock_t;
|
||||
# define HAVE_TZSET
|
||||
# define NEED_CBRT
|
||||
# define NEED_ISINF
|
||||
# ifndef MAXPATHLEN
|
||||
# define MAXPATHLEN 250
|
||||
# endif
|
||||
#endif /* WIN32 */
|
||||
|
||||
#if defined(ultrix4)
|
||||
|
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: dynamic_loader.h,v 1.3 1996/11/26 03:20:17 bryanh Exp $
|
||||
* $Id: dynamic_loader.h,v 1.4 1996/12/28 02:12:51 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -14,6 +14,7 @@
|
||||
#define DYNAMIC_LOADER_H
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h> /* For MAXPATHLEN */
|
||||
|
||||
#include <postgres.h>
|
||||
|
||||
@@ -22,13 +23,6 @@
|
||||
#undef MAX
|
||||
#endif /* MIN */
|
||||
|
||||
#ifdef WIN32
|
||||
#define MAXPATHLEN 250
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#endif
|
||||
|
||||
/*
|
||||
* List of dynamically loaded files.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user