changeset 9075:04b461c99a96

[USE_DL_STUBS] (dlopen, dlsym, dlclose): New functions.
author Richard M. Stallman <rms@gnu.org>
date Sat, 24 Sep 1994 22:15:56 +0000
parents 05ed4bcaab10
children 9bb6633dda5a
files src/sysdep.c
diffstat 1 files changed, 27 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Sat Sep 24 22:15:44 1994 +0000
+++ b/src/sysdep.c	Sat Sep 24 22:15:56 1994 +0000
@@ -4860,3 +4860,30 @@
 }
 
 #endif /* AIX */
+
+#ifdef USE_DL_STUBS
+
+/* These are included on Sunos 4.1 when we do not use shared libraries.
+   X11 libraries may refer to these functions but (we hope) do not
+   actually call them.  */
+
+void *
+dlopen ()
+{
+  return 0;
+}
+
+void *
+dlsym ()
+{
+  return 0;
+}
+
+int
+dlclose ()
+{
+  return -1;
+}
+
+#endif /* USE_DL_STUBS */
+