Merge pull request #4148 from stgraber/master

meson: Fix bad strerror_r check
This commit is contained in:
Stéphane Graber 2022-06-13 22:17:52 -04:00 committed by GitHub
commit dcde35e709
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -421,7 +421,7 @@ have = cc.has_function('openpty', prefix: '#include <pty.h>', args: '-D_GNU_SOUR
srcconf.set10('HAVE_OPENPTY', have)
have_func_strerror_r = cc.has_function('strerror_r', prefix: '#include <string.h>', args: '-D_GNU_SOURCE')
srcconf.set10('HAVE_STRERROR_R', have)
srcconf.set10('HAVE_STRERROR_R', have_func_strerror_r)
have_func_strerror_r_char_p = false