Update to 0.1.7
Add to build when memfd_create is already defined
This commit is contained in:
parent
91b76896a6
commit
97eb7f5f11
@ -26,9 +26,7 @@ index 29c52db..7943abd 100644
|
||||
cdata.set('HAVE_MKSTEMP', 1)
|
||||
endif
|
||||
|
||||
+if cc.has_function('memfd_create', prefix : '#include <sys/mman.h>')
|
||||
+ cdata.set('HAVE_MEMFD_CREATE', 1)
|
||||
+endif
|
||||
+cdata.set('HAVE_MEMFD_CREATE', 1)
|
||||
+
|
||||
configure_file(input : 'config.h.meson',
|
||||
output : 'config.h',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user