# HG changeset patch # User Richard M. Stallman # Date 780444956 0 # Node ID 04b461c99a96925fb5c5bd3917e9168f99c21790 # Parent 05ed4bcaab10dd6cc58d2a80c47f24e8456edffc [USE_DL_STUBS] (dlopen, dlsym, dlclose): New functions. diff -r 05ed4bcaab10 -r 04b461c99a96 src/sysdep.c --- 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 */ +