소스 검색

Disable posix threads support

David Schleef 23 년 전
부모
커밋
38b024251f
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      libc/sysdeps/linux/powerpc/bits/posix_opt.h

+ 4 - 2
libc/sysdeps/linux/powerpc/bits/posix_opt.h

@@ -64,7 +64,8 @@
 #define	_POSIX_NO_TRUNC	1
 
 /* X/Open realtime support is available.  */
-#define _XOPEN_REALTIME	1
+/* except it's not */
+#undef _XOPEN_REALTIME
 
 /* X/Open realtime thread support is available.  */
 #define _XOPEN_REALTIME_THREADS	1
@@ -73,7 +74,8 @@
 #define	_XOPEN_SHM	1
 
 /* Tell we have POSIX threads.  */
-#define _POSIX_THREADS	1
+/* except we don't */
+#undef _POSIX_THREADS
 
 /* We have the reentrant functions described in POSIX.  */
 #define _POSIX_REENTRANT_FUNCTIONS      1