|
7 | 7 | * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
8 | 8 | * Portions Copyright (c) 1994, Regents of the University of California
|
9 | 9 | *
|
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 $ |
11 | 11 | *
|
12 | 12 | *-------------------------------------------------------------------------
|
13 | 13 | */
|
|
34 | 34 | * begin with an underscore is fairly tricky, and some versions of
|
35 | 35 | * NetBSD (like 1.0, and 1.0A pre June 1995) have no dlerror.)
|
36 | 36 | */
|
| 37 | + |
| 38 | +#ifndefRTLD_GLOBAL |
| 39 | +#defineRTLD_GLOBAL 0 |
| 40 | +#endif |
| 41 | + |
37 | 42 | #definepg_dlopen(f) BSD44_derived_dlopen((f), RTLD_LAZY | RTLD_GLOBAL)
|
38 | 43 | #definepg_dlsym BSD44_derived_dlsym
|
39 | 44 | #definepg_dlclose BSD44_derived_dlclose
|
|