projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2f13c2
)
[USE_DL_STUBS] (dlopen, dlsym, dlclose): New functions.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 24 Sep 1994 22:15:56 +0000
(22:15 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 24 Sep 1994 22:15:56 +0000
(22:15 +0000)
src/sysdep.c
patch
|
blob
|
history
diff --git
a/src/sysdep.c
b/src/sysdep.c
index 8e885d3c23a295c3bdcd93a35f1ef6ec20e40418..fe31b59983041ef6a1eeb132af2ab97fec722034 100644
(file)
--- a/
src/sysdep.c
+++ b/
src/sysdep.c
@@
-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 */
+