Просмотр исходного кода

Add proper guard, so that we don't see the internal header in userspace

Peter S. Mazinger 18 лет назад
Родитель
Сommit
8897795c2a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      libpthread/linuxthreads.old/sysdeps/pthread/pthread.h

+ 1 - 1
libpthread/linuxthreads.old/sysdeps/pthread/pthread.h

@@ -24,7 +24,7 @@
 #include <signal.h>
 #include <bits/pthreadtypes.h>
 #include <bits/initspin.h>
-#ifdef _LIBC
+#if defined _LIBC && (defined IS_IN_libc || defined NOT_IN_libc)
 #include <bits/uClibc_pthread.h>
 #endif