Meson: Add comment telling why we test strlcpy/strlcat

This commit is contained in:
Xavier Claessens 2018-06-18 09:28:55 -04:00
parent 75fd0109db
commit b97453c3e6

View File

@ -1767,6 +1767,8 @@ if host_system != 'windows' and get_option('xattr')
endif endif
endif endif
# Test if we have strlcpy/strlcat with a compatible implementation:
# https://bugzilla.gnome.org/show_bug.cgi?id=53933
if cc_can_run if cc_can_run
rres = cc.run('''#include <stdlib.h> rres = cc.run('''#include <stdlib.h>
#include <string.h> #include <string.h>