mirror of
https://sourceware.org/git/glibc.git
synced 2024-09-20 00:19:57 +00:00
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.
This commit is contained in:
parent
9cd4747089
commit
286663c34b
@ -1,5 +1,7 @@
|
||||
2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||
|
||||
* include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
|
||||
|
||||
* Makeconfig (in-module): Get value of libof set for the
|
||||
translation unit.
|
||||
(CPPFLAGS): Use $(in-module).
|
||||
|
@ -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))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user