openzfs / spl

A shim layer which adds the core interfaces required for OpenZFS.
https://zfsonlinux.org/
GNU General Public License v2.0
282 stars 181 forks source link

Use autoconf variable for C preprocessor #711

Closed lopsided98 closed 4 years ago

lopsided98 commented 5 years ago

This fixes the same issue as in https://github.com/zfsonlinux/zfs/pull/8180, except in the SPL. This fixes detection of the kernel version when cross-compiling without access to a native compiler.

tonyhutter commented 5 years ago

Thanks, I'll pull this in on the next release.