mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +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>
|
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
|
* Makeconfig (in-module): Get value of libof set for the
|
||||||
translation unit.
|
translation unit.
|
||||||
(CPPFLAGS): Use $(in-module).
|
(CPPFLAGS): Use $(in-module).
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
# define SHLIB_COMPAT(lib, introduced, obsoleted) \
|
# define SHLIB_COMPAT(lib, introduced, obsoleted) \
|
||||||
_SHLIB_COMPAT (lib, introduced, obsoleted)
|
_SHLIB_COMPAT (lib, introduced, obsoleted)
|
||||||
# define _SHLIB_COMPAT(lib, introduced, obsoleted) \
|
# define _SHLIB_COMPAT(lib, introduced, obsoleted) \
|
||||||
((IS_IN_##lib - 0) \
|
(IS_IN (lib) \
|
||||||
&& (!(ABI_##lib##_##obsoleted - 0) \
|
&& (!(ABI_##lib##_##obsoleted - 0) \
|
||||||
|| ((ABI_##lib##_##introduced - 0) < (ABI_##lib##_##obsoleted - 0))))
|
|| ((ABI_##lib##_##introduced - 0) < (ABI_##lib##_##obsoleted - 0))))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user