diff options
Diffstat (limited to 'libc/misc/dirent/dirstream.h')
-rw-r--r-- | libc/misc/dirent/dirstream.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/misc/dirent/dirstream.h b/libc/misc/dirent/dirstream.h index 268ed1c91..92e81af0b 100644 --- a/libc/misc/dirent/dirstream.h +++ b/libc/misc/dirent/dirstream.h @@ -26,7 +26,7 @@ Cambridge, MA 02139, USA. */ #include <features.h> #include <sys/types.h> -#ifdef _POSIX_THREADS +#ifdef __UCLIBC_HAS_THREADS__ #include <pthread.h> #endif @@ -63,8 +63,8 @@ struct __dirstream { size_t dd_max; /* lock */ -#ifdef _POSIX_THREADS - pthread_mutex_t *dd_lock; +#ifdef __UCLIBC_HAS_THREADS__ + pthread_mutex_t dd_lock; #else void *dd_lock; #endif |