1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-08 06:02:22 +03:00

Fix for BSDI compile.

This commit is contained in:
Bruce Momjian
1996-11-29 04:49:46 +00:00
parent ba876c150a
commit 316e81cf22

View File

@@ -18,14 +18,7 @@
/* dynloader.c */
#define SAVE_MAXPATHLEN MAXPATHLEN
#undef MAXPATHLEN /* prevent compiler warning */
#include <sys/param.h>
#undef MAXPATHLEN
#define MAXPATHLEN SAVE_MAXPATHLEN
#undef SAVE_MAXPATHLEN
#if _BSDI_VERSION >= 199510
#ifndef PRE_BSDI_2_1
# include <dlfcn.h>
# define pg_dlopen(f) dlopen(f, 1)
# define pg_dlsym dlsym