Explorar o código

Disable posix threads support

David Schleef %!s(int64=23) %!d(string=hai) anos
pai
achega
38b024251f
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  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