diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-28 17:52:34 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-28 17:52:46 +0100 |
commit | fc221145a734d128d8f56f40d40fd4bb70a1d151 (patch) | |
tree | 4856d15bf256a20cf4642808673f355a70782c29 /io | |
parent | hurd: Fix building libio/tst-memstream3.c (diff) | |
download | glibc-fc221145a734d128d8f56f40d40fd4bb70a1d151.tar.gz glibc-fc221145a734d128d8f56f40d40fd4bb70a1d151.tar.bz2 glibc-fc221145a734d128d8f56f40d40fd4bb70a1d151.zip |
hurd: Fix building io/tst-fchownat.c
* io/tst-fchownat.c [!defined _POSIX_CHOWN_RESTRICTED]: Act like when
_POSIX_CHOWN_RESTRICTED is defined to 0.
Diffstat (limited to 'io')
-rw-r--r-- | io/tst-fchownat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io/tst-fchownat.c b/io/tst-fchownat.c index e8adf6229f..8318842249 100644 --- a/io/tst-fchownat.c +++ b/io/tst-fchownat.c @@ -20,7 +20,7 @@ static int dir_fd; static void prepare (void) { -#if _POSIX_CHOWN_RESTRICTED == 0 +#if !defined _POSIX_CHOWN_RESTRICTED || _POSIX_CHOWN_RESTRICTED == 0 if (pathconf (test_dir, _PC_CHOWN_RESTRICTED) != 0) #endif { |