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

Commit c5f7a94

Browse files
committed
There is no RTLD_GLOBAL on OpenBSD, says Alex Pilosov <alex@pilosoft.com>.
1 parent f445289 commit c5f7a94

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/backend/port/dynloader/openbsd.h

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
/*-------------------------------------------------------------------------
22
*
3-
* port_protos.h
4-
* port-specific prototypes for NetBSD 1.0
5-
*
3+
* Dynamic loader for OpenBSD
64
*
75
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
86
* Portions Copyright (c) 1994, Regents of the University of California
97
*
10-
* $Id: openbsd.h,v 1.5 2001/05/15 16:55:27 petere Exp $
8+
* $Id: openbsd.h,v 1.6 2001/06/20 18:33:31 petere Exp $
119
*
1210
*-------------------------------------------------------------------------
1311
*/
@@ -34,7 +32,7 @@
3432
* begin with an underscore is fairly tricky, and some versions of
3533
* NetBSD (like 1.0, and 1.0A pre June 1995) have no dlerror.)
3634
*/
37-
#define pg_dlopen(f) BSD44_derived_dlopen((f), RTLD_LAZY | RTLD_GLOBAL)
35+
#define pg_dlopen(f) BSD44_derived_dlopen((f), RTLD_LAZY)
3836
#define pg_dlsym BSD44_derived_dlsym
3937
#define pg_dlclose BSD44_derived_dlclose
4038
#define pg_dlerror BSD44_derived_dlerror

0 commit comments

Comments
 (0)