Commit 316e81cf authored by Bruce Momjian's avatar Bruce Momjian

Fix for BSDI compile.

parent ba876c15
...@@ -18,14 +18,7 @@ ...@@ -18,14 +18,7 @@
/* dynloader.c */ /* dynloader.c */
#define SAVE_MAXPATHLEN MAXPATHLEN #ifndef PRE_BSDI_2_1
#undef MAXPATHLEN /* prevent compiler warning */
#include <sys/param.h>
#undef MAXPATHLEN
#define MAXPATHLEN SAVE_MAXPATHLEN
#undef SAVE_MAXPATHLEN
#if _BSDI_VERSION >= 199510
# include <dlfcn.h> # include <dlfcn.h>
# define pg_dlopen(f) dlopen(f, 1) # define pg_dlopen(f) dlopen(f, 1)
# define pg_dlsym dlsym # define pg_dlsym dlsym
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment