From: Richard M. Stallman Date: Sat, 24 Sep 1994 22:15:56 +0000 (+0000) Subject: [USE_DL_STUBS] (dlopen, dlsym, dlclose): New functions. X-Git-Tag: emacs-19.34~6779 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c238be244b8eba4d22fe6dc93ba9797c53e47039;p=emacs.git [USE_DL_STUBS] (dlopen, dlsym, dlclose): New functions. --- 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 () } #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 */ +