Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2bd15ad

Browse files
committed
Fix for old FreeBSD versions that don't have RTLD_GLOBAL
1 parent6799a6c commit2bd15ad

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎src/backend/port/dynloader/freebsd.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: freebsd.h,v 1.13 2001/11/05 17:46:27 momjian Exp $
10+
* $Id: freebsd.h,v 1.14 2002/02/11 21:38:11 petere Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -34,6 +34,11 @@
3434
* begin with an underscore is fairly tricky, and some versions of
3535
* NetBSD (like 1.0, and 1.0A pre June 1995) have no dlerror.)
3636
*/
37+
38+
#ifndefRTLD_GLOBAL
39+
#defineRTLD_GLOBAL 0
40+
#endif
41+
3742
#definepg_dlopen(f) BSD44_derived_dlopen((f), RTLD_LAZY | RTLD_GLOBAL)
3843
#definepg_dlsym BSD44_derived_dlsym
3944
#definepg_dlclose BSD44_derived_dlclose

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp