From 9f8ff2ab5ab4ef93b8d69c41b7eeec6128335cc6 Mon Sep 17 00:00:00 2001
From: Tatsuo Ishii <ishii@postgresql.org>
Date: Wed, 5 Dec 2001 02:03:59 +0000
Subject: [PATCH] Re-enable SunOS4 port. Replace RTLD_LAZY | RTLD_GLOBAL to 1.
 It seems sunos4.h was accidentally modified between 7.1 and 7.2.

---
 src/backend/port/dynloader/sunos4.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/port/dynloader/sunos4.h b/src/backend/port/dynloader/sunos4.h
index 6990892f3bb..0bd685be7dc 100644
--- a/src/backend/port/dynloader/sunos4.h
+++ b/src/backend/port/dynloader/sunos4.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: sunos4.h,v 1.11 2001/11/05 17:46:27 momjian Exp $
+ * $Id: sunos4.h,v 1.12 2001/12/05 02:03:59 ishii Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -26,7 +26,7 @@
  * library as the file to be dynamically loaded.
  *
  */
-#define pg_dlopen(f)	dlopen((f), RTLD_LAZY | RTLD_GLOBAL)
+#define pg_dlopen(f)	dlopen((f),1)
 #define pg_dlsym		dlsym
 #define pg_dlclose		dlclose
 #define pg_dlerror		dlerror
-- 
GitLab