aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/dynloader/osf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/port/dynloader/osf.h')
-rw-r--r--src/backend/port/dynloader/osf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/port/dynloader/osf.h b/src/backend/port/dynloader/osf.h
index 9f5cdd5c588..61961b02d6d 100644
--- a/src/backend/port/dynloader/osf.h
+++ b/src/backend/port/dynloader/osf.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: osf.h,v 1.2 2001/01/24 19:43:04 momjian Exp $
+ * $Id: osf.h,v 1.3 2001/05/14 21:45:53 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -28,7 +28,7 @@
* library as the file to be dynamically loaded.
*
*/
-#define pg_dlopen(f) dlopen(f, RTLD_LAZY)
+#define pg_dlopen(f) dlopen((f), RTLD_LAZY | RTLD_GLOBAL)
#define pg_dlsym(h, f) ((PGFunction) dlsym(h, f))
#define pg_dlclose(h) dlclose(h)
#define pg_dlerror() dlerror()