aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix/opendir.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/opendir.c')
-rw-r--r--sysdeps/posix/opendir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/opendir.c b/sysdeps/posix/opendir.c
index be234bd..1ae5c0d 100644
--- a/sysdeps/posix/opendir.c
+++ b/sysdeps/posix/opendir.c
@@ -224,7 +224,7 @@ __alloc_dir (int fd, bool close_fd, int flags, const struct stat64 *statp)
}
dirp->fd = fd;
-#ifndef NOT_IN_libc
+#if IS_IN (libc)
__libc_lock_init (dirp->lock);
#endif
dirp->allocation = allocation;