There is no RTLD_GLOBAL on OpenBSD, says Alex Pilosov <alex@pilosoft.com>.

This commit is contained in:
Peter Eisentraut 2001-06-20 18:33:31 +00:00
parent f445289781
commit c5f7a94f3c
1 changed files with 3 additions and 5 deletions

View File

@ -1,13 +1,11 @@
/*-------------------------------------------------------------------------
*
* port_protos.h
* port-specific prototypes for NetBSD 1.0
*
* Dynamic loader for OpenBSD
*
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: openbsd.h,v 1.5 2001/05/15 16:55:27 petere Exp $
* $Id: openbsd.h,v 1.6 2001/06/20 18:33:31 petere Exp $
*
*-------------------------------------------------------------------------
*/
@ -34,7 +32,7 @@
* begin with an underscore is fairly tricky, and some versions of
* NetBSD (like 1.0, and 1.0A pre June 1995) have no dlerror.)
*/
#define pg_dlopen(f) BSD44_derived_dlopen((f), RTLD_LAZY | RTLD_GLOBAL)
#define pg_dlopen(f) BSD44_derived_dlopen((f), RTLD_LAZY)
#define pg_dlsym BSD44_derived_dlsym
#define pg_dlclose BSD44_derived_dlclose
#define pg_dlerror BSD44_derived_dlerror