about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--include/shlib-compat.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 038b134f89..d2460f86cf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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).
diff --git a/include/shlib-compat.h b/include/shlib-compat.h
index fac0814bc2..30804d369c 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))))