diff options
author | Roland McGrath <roland@gnu.org> | 2000-03-27 23:57:43 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2000-03-27 23:57:43 +0000 |
commit | 65b4f10b8945da6e664058e1eabb90e41d887286 (patch) | |
tree | 9188dfbbc5b62d9f340bbf83d4c574cd5a0c4ec7 /include | |
parent | 58dc1d49686da5b13a8e63f86fecf025b532572e (diff) | |
download | glibc-65b4f10b8945da6e664058e1eabb90e41d887286.tar glibc-65b4f10b8945da6e664058e1eabb90e41d887286.tar.gz glibc-65b4f10b8945da6e664058e1eabb90e41d887286.tar.bz2 glibc-65b4f10b8945da6e664058e1eabb90e41d887286.zip |
* include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
obsoleting version not being defined at all, in which case the
result is always true.
Diffstat (limited to 'include')
-rw-r--r-- | include/shlib-compat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/shlib-compat.h b/include/shlib-compat.h index 7f66cbead5..a95c1e0806 100644 --- a/include/shlib-compat.h +++ b/include/shlib-compat.h @@ -44,7 +44,8 @@ in the GLIBC_2.0 version and obsoleted in the GLIBC_2.2 version. */ # define SHLIB_COMPAT(lib, introduced, obsoleted) \ - (ABI_##lib##_##introduced < ABI_##lib##_##obsoleted) + (!(ABI_##lib##_##obsoleted - 0) \ + || ((ABI_##lib##_##introduced - 0) < (ABI_##lib##_##obsoleted - 0))) /* That header also defines symbols like `VERSION_libm_GLIBC_2_1' to the version set name to use for e.g. symbols first introduced into |