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 -#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