Skip to content

nine: Fix compilation when memfd_create support is absent

Axel Davy requested to merge axeldavy/mesa:nine_memfd_compilation_fix into master

glibc introduced memfd_create only in its 2.27 release.

Check memfd_create support by verifying MFD_HUGETLB is defined.

Fixes: !9377 (merged)

Reported by Roman Elshin in !9451 (merged)

Merge request reports