diff options
| author | Richard M. Stallman | 1994-09-24 22:15:56 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-09-24 22:15:56 +0000 |
| commit | c238be244b8eba4d22fe6dc93ba9797c53e47039 (patch) | |
| tree | 083461f25b117baaa11e76935e7bc405c5c36432 /src | |
| parent | a2f13c2af13a806953d4ef52664159b0a9f2725e (diff) | |
| download | emacs-c238be244b8eba4d22fe6dc93ba9797c53e47039.tar.gz emacs-c238be244b8eba4d22fe6dc93ba9797c53e47039.zip | |
[USE_DL_STUBS] (dlopen, dlsym, dlclose): New functions.
Diffstat (limited to 'src')
| -rw-r--r-- | src/sysdep.c | 27 |
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 | |||
| 4870 | void * | ||
| 4871 | dlopen () | ||
| 4872 | { | ||
| 4873 | return 0; | ||
| 4874 | } | ||
| 4875 | |||
| 4876 | void * | ||
| 4877 | dlsym () | ||
| 4878 | { | ||
| 4879 | return 0; | ||
| 4880 | } | ||
| 4881 | |||
| 4882 | int | ||
| 4883 | dlclose () | ||
| 4884 | { | ||
| 4885 | return -1; | ||
| 4886 | } | ||
| 4887 | |||
| 4888 | #endif /* USE_DL_STUBS */ | ||
| 4889 | |||