diff --git a/devel/include/detail/wtr/watcher/adapter/linux/watch.hpp b/devel/include/detail/wtr/watcher/adapter/linux/watch.hpp index 0ecddbb4..6c40e96d 100644 --- a/devel/include/detail/wtr/watcher/adapter/linux/watch.hpp +++ b/devel/include/detail/wtr/watcher/adapter/linux/watch.hpp @@ -7,7 +7,7 @@ #include #include -#if (KERNEL_VERSION(2, 7, 0) > LINUX_VERSION_CODE) || __ANDROID_API__ +#if KERNEL_VERSION(2, 7, 0) > LINUX_VERSION_CODE #error "Define 'WATER_WATCHER_USE_WARTHOG' on kernel versions < 2.7.0" #endif diff --git a/include/wtr/watcher.hpp b/include/wtr/watcher.hpp index b30b1b2c..2f0f5005 100644 --- a/include/wtr/watcher.hpp +++ b/include/wtr/watcher.hpp @@ -1690,7 +1690,7 @@ inline auto do_ev_recv = [](auto const& cb, sysres& sr) -> result #include #include -#if (KERNEL_VERSION(2, 7, 0) > LINUX_VERSION_CODE) || __ANDROID_API__ +#if KERNEL_VERSION(2, 7, 0) > LINUX_VERSION_CODE #error "Define 'WATER_WATCHER_USE_WARTHOG' on kernel versions < 2.7.0" #endif