On Sun, Nov 08, 2020 at 01:15:00PM +0100, Alexander Burger wrote:
> Yes, I did
> 
>    #define _GNU_SOURCE
>    #include <dlfcn.h>
> 
> This works here on Termux, but on Debian I get
> 
>    lib.c:493:33: error: use of undeclared
>          identifier 'RTLD_DEFAULT'
>             (p->fun = dlsym(lib ?: RTLD_DEF...
>                                    ^
>    1 error generated.

OK, with

   #define __USE_GNU

it works. Very ugly!

Should we really do that? How portable are we then?

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to