diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2023-05-07 20:57:06 +0200 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2023-05-07 21:10:23 +0200 |
commit | bf07335a19d6192adaf4b1a817d2101ee0bad134 (patch) | |
tree | f6bcc77c13282f5cdd3b02a910ba54215fd8aa5a /tests/tst-dlopen.c | |
parent | 11583a190bf24240f049433782092a7773c1d8c4 (diff) | |
download | pam-bf07335a19d6192adaf4b1a817d2101ee0bad134.tar.gz pam-bf07335a19d6192adaf4b1a817d2101ee0bad134.tar.bz2 pam-bf07335a19d6192adaf4b1a817d2101ee0bad134.zip |
modules: update Linux detection
GCC and Clang only define the macro `linux` when using the GNU dialect
of C (e.g. -std=gnu11 instead of -std=c11). Since `linux` is also not
in a reserved namespace it might be target of collisions.
Use the canonical macro `__linux__` instead (already used in
pam_limits.c).
Diffstat (limited to 'tests/tst-dlopen.c')
0 files changed, 0 insertions, 0 deletions