Merge branch 'meson-fix' into 'master'

meson: Remove stray ] in O_DIRECTORY check

See merge request GNOME/glib!1493
This commit is contained in:
Emmanuele Bassi 2020-05-14 14:02:20 +00:00
commit 700be9f22d

View File

@ -829,7 +829,7 @@ endif
#AC_MSG_CHECKING([]) #AC_MSG_CHECKING([])
if cc.compiles('''#include <fcntl.h> if cc.compiles('''#include <fcntl.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h>], #include <sys/stat.h>
void some_func (void) { void some_func (void) {
open(0, O_DIRECTORY, 0); open(0, O_DIRECTORY, 0);
}''', name : 'open() option O_DIRECTORY') }''', name : 'open() option O_DIRECTORY')