diff options
Diffstat (limited to 'io/tst-fchownat.c')
-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 e8adf62..8318842 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 { |