Browse Source

Disable posix threads support

David Schleef 23 years ago
parent
commit
38b024251f
1 changed files with 4 additions and 2 deletions
  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
 #define	_POSIX_NO_TRUNC	1
 
 
 /* X/Open realtime support is available.  */
 /* X/Open realtime support is available.  */
-#define _XOPEN_REALTIME	1
+/* except it's not */
+#undef _XOPEN_REALTIME
 
 
 /* X/Open realtime thread support is available.  */
 /* X/Open realtime thread support is available.  */
 #define _XOPEN_REALTIME_THREADS	1
 #define _XOPEN_REALTIME_THREADS	1
@@ -73,7 +74,8 @@
 #define	_XOPEN_SHM	1
 #define	_XOPEN_SHM	1
 
 
 /* Tell we have POSIX threads.  */
 /* Tell we have POSIX threads.  */
-#define _POSIX_THREADS	1
+/* except we don't */
+#undef _POSIX_THREADS
 
 
 /* We have the reentrant functions described in POSIX.  */
 /* We have the reentrant functions described in POSIX.  */
 #define _POSIX_REENTRANT_FUNCTIONS      1
 #define _POSIX_REENTRANT_FUNCTIONS      1