diff options
author | Bruce Momjian | 1996-11-29 04:49:46 +0000 |
---|---|---|
committer | Bruce Momjian | 1996-11-29 04:49:46 +0000 |
commit | 316e81cf223e229d6a3d23d37c840e9bdde8a495 (patch) | |
tree | 831cd7abeb27cc37d195c5a0db403c5ac5e5c57a | |
parent | ba876c150a83b227bb5a6e78e295e45077ed02cf (diff) |
Fix for BSDI compile.
-rw-r--r-- | src/backend/port/bsdi/port-protos.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/backend/port/bsdi/port-protos.h b/src/backend/port/bsdi/port-protos.h index 0f65780bdc4..91e2e088136 100644 --- a/src/backend/port/bsdi/port-protos.h +++ b/src/backend/port/bsdi/port-protos.h @@ -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 |