Update to 0.1.7

Add to build when memfd_create is already defined
This commit is contained in:
Wim Taymans 2017-11-24 18:09:22 +01:00
parent 91b76896a6
commit 97eb7f5f11

View File

@ -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',