]> git.ipfire.org Git - thirdparty/glibc.git/commit
dlfcn: Move RTLD_DEFAULT/RTLD_NEXT outside __USE_GNU
authorFangrui Song <maskray@google.com>
Mon, 23 May 2022 17:23:23 +0000 (10:23 -0700)
committerFangrui Song <maskray@google.com>
Mon, 23 May 2022 17:23:23 +0000 (10:23 -0700)
commit748df8126ac69e68e0b94e236ea3c2e11b1176cb
tree6ae395995695cf3785f3deffeb516c27c1d5b38c
parent9a421348cd7d0704663e26e6171828bed6e0a2cf
dlfcn: Move RTLD_DEFAULT/RTLD_NEXT outside __USE_GNU

POSIX reserves the RTLD_ namespace, and this is already reflected in our
conform tests.
Note: RTLD_DEFAULT and RTLD_NEXT appear in IEEE Std 1003.1-2004.  Many
systems (e.g. FreeBSD, musl) just define the macros unconditionally.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
Tested-by: Florian Weimer <fweimer@redhat.com>
dlfcn/dlfcn.h