about summary refs log tree commit diff
path: root/sysdeps/posix/rewinddir.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/rewinddir.c')
-rw-r--r--sysdeps/posix/rewinddir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/posix/rewinddir.c b/sysdeps/posix/rewinddir.c
index e9bc78d073..d1d46716ef 100644
--- a/sysdeps/posix/rewinddir.c
+++ b/sysdeps/posix/rewinddir.c
@@ -26,7 +26,7 @@ void
 __rewinddir (dirp)
      DIR *dirp;
 {
-#ifndef NOT_IN_libc
+#if IS_IN (libc)
   __libc_lock_lock (dirp->lock);
 #endif
   (void) __lseek (dirp->fd, (off_t) 0, SEEK_SET);
@@ -34,7 +34,7 @@ __rewinddir (dirp)
   dirp->offset = 0;
   dirp->size = 0;
   dirp->errcode = 0;
-#ifndef NOT_IN_libc
+#if IS_IN (libc)
   __libc_lock_unlock (dirp->lock);
 #endif
 }