mirror of
https://github.com/dynup/kpatch
synced 2024-12-22 21:22:07 +00:00
355927287d
Preprocessor doesn't stop unwinding macroses in #if clauses if one of the conditions is false resulting in the following error when trying to build on non-rhel system: patch/livepatch-patch-hook.c:53:48: error: missing binary operator before token "(" RHEL_RELEASE_CODE <= RHEL_RELEASE_VERSION(7, 5)) Fix by using 2 levels of #ifs instead of &&. The same way HAVE_CALLBACKS does. Signed-off-by: Artem Savkov <asavkov@redhat.com> |
||
---|---|---|
.. | ||
core | ||
patch | ||
Makefile |