aboutsummaryrefslogtreecommitdiff
path: root/include/shlib-compat.h
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-11-19 12:15:01 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-11-19 12:15:01 +0530
commit286663c34b006c1409df4a71f89d6d4d5d01df09 (patch)
treed40026afd76921a68d01cbaf44e7ac9809c3b0a1 /include/shlib-compat.h
parent9cd4747089e6b0d6ed6b2b6c75798912489c7bab (diff)
downloadglibc-286663c34b006c1409df4a71f89d6d4d5d01df09.zip
glibc-286663c34b006c1409df4a71f89d6d4d5d01df09.tar.gz
glibc-286663c34b006c1409df4a71f89d6d4d5d01df09.tar.bz2
Fix -Wundef warning in SHLIB_COMPAT
Replace the IS_IN_##lib with IS_IN(lib). Verified that the generated code remains the same. * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
Diffstat (limited to 'include/shlib-compat.h')
-rw-r--r--include/shlib-compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/shlib-compat.h b/include/shlib-compat.h
index fac0814..30804d3 100644
--- a/include/shlib-compat.h
+++ b/include/shlib-compat.h
@@ -41,7 +41,7 @@
# define SHLIB_COMPAT(lib, introduced, obsoleted) \
_SHLIB_COMPAT (lib, introduced, obsoleted)
# define _SHLIB_COMPAT(lib, introduced, obsoleted) \
- ((IS_IN_##lib - 0) \
+ (IS_IN (lib) \
&& (!(ABI_##lib##_##obsoleted - 0) \
|| ((ABI_##lib##_##introduced - 0) < (ABI_##lib##_##obsoleted - 0))))