瀏覽代碼

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