]> granicus.if.org Git - postgresql/commitdiff
Fix for BSDI compile.
authorBruce Momjian <bruce@momjian.us>
Fri, 29 Nov 1996 04:49:46 +0000 (04:49 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 29 Nov 1996 04:49:46 +0000 (04:49 +0000)
src/backend/port/bsdi/port-protos.h

index 0f65780bdc4428c4ec5f1b2cbde56004f5c56e38..91e2e088136a2fed5faedea100563da44ae2a856 100644 (file)
 
 /* 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