aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-09-24 22:15:56 +0000
committerRichard M. Stallman1994-09-24 22:15:56 +0000
commitc238be244b8eba4d22fe6dc93ba9797c53e47039 (patch)
tree083461f25b117baaa11e76935e7bc405c5c36432 /src
parenta2f13c2af13a806953d4ef52664159b0a9f2725e (diff)
downloademacs-c238be244b8eba4d22fe6dc93ba9797c53e47039.tar.gz
emacs-c238be244b8eba4d22fe6dc93ba9797c53e47039.zip
[USE_DL_STUBS] (dlopen, dlsym, dlclose): New functions.
Diffstat (limited to 'src')
-rw-r--r--src/sysdep.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index 8e885d3c23a..fe31b599830 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -4860,3 +4860,30 @@ hft_reset ()
4860} 4860}
4861 4861
4862#endif /* AIX */ 4862#endif /* AIX */
4863
4864#ifdef USE_DL_STUBS
4865
4866/* These are included on Sunos 4.1 when we do not use shared libraries.
4867 X11 libraries may refer to these functions but (we hope) do not
4868 actually call them. */
4869
4870void *
4871dlopen ()
4872{
4873 return 0;
4874}
4875
4876void *
4877dlsym ()
4878{
4879 return 0;
4880}
4881
4882int
4883dlclose ()
4884{
4885 return -1;
4886}
4887
4888#endif /* USE_DL_STUBS */
4889