On Freitag, 21. Juli 2017 11:17:09 CEST Sven Eckelmann wrote:
-#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 9)
The other option would have been
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0) && \ (LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 9) || \ LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0))
But it should be enough to use the shorter version for this stable kernel. But we may need the other version for older kernels (not sure whether it will be backported to 4.9.x, 4.4.x, 4.1.x, 3.16.x, 3.10.x, 3.4.x or 3.2.x).
See https://www.open-mesh.org/issues/342 for more information.
Kind regards, Sven