From: Bruce Momjian Date: Fri, 29 Nov 1996 04:49:46 +0000 (+0000) Subject: Fix for BSDI compile. X-Git-Tag: REL2_0~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=316e81cf223e229d6a3d23d37c840e9bdde8a495;p=postgresql Fix for BSDI compile. --- diff --git a/src/backend/port/bsdi/port-protos.h b/src/backend/port/bsdi/port-protos.h index 0f65780bdc..91e2e08813 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 -#undef MAXPATHLEN -#define MAXPATHLEN SAVE_MAXPATHLEN -#undef SAVE_MAXPATHLEN - -#if _BSDI_VERSION >= 199510 +#ifndef PRE_BSDI_2_1 # include # define pg_dlopen(f) dlopen(f, 1) # define pg_dlsym dlsym