Mercurial > emacs
diff src/sysdep.c @ 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 | 22e5c594d59d |
| children | b85ea5d23089 |
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 */ +
