]> git.eshelyaron.com Git - emacs.git/commitdiff
[USE_DL_STUBS] (dlopen, dlsym, dlclose): New functions.
authorRichard M. Stallman <rms@gnu.org>
Sat, 24 Sep 1994 22:15:56 +0000 (22:15 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 24 Sep 1994 22:15:56 +0000 (22:15 +0000)
src/sysdep.c

index 8e885d3c23a295c3bdcd93a35f1ef6ec20e40418..fe31b59983041ef6a1eeb132af2ab97fec722034 100644 (file)
@@ -4860,3 +4860,30 @@ hft_reset ()
 }
 
 #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 */
+