OSDN Git Service

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 0f65780..91e2e08 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