Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 316e81c

Browse files
committed
Fix for BSDI compile.
1 parent ba876c1 commit 316e81c

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/backend/port/bsdi/port-protos.h

+1-8
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,7 @@
1818

1919
/* dynloader.c */
2020

21-
#define SAVE_MAXPATHLEN MAXPATHLEN
22-
#undef MAXPATHLEN /* prevent compiler warning */
23-
#include <sys/param.h>
24-
#undef MAXPATHLEN
25-
#define MAXPATHLEN SAVE_MAXPATHLEN
26-
#undef SAVE_MAXPATHLEN
27-
28-
#if _BSDI_VERSION >= 199510
21+
#ifndef PRE_BSDI_2_1
2922
# include <dlfcn.h>
3023
# define pg_dlopen(f) dlopen(f, 1)
3124
# define pg_dlsym dlsym

0 commit comments

Comments
 (0)