2009-04-06 Ken Werner <ken.werner@de.ibm.com>

* libc/include/sys/features.h: Undefine _POSIX_TIMERS for spu.
        * libc/include/machine/time.h (nanosleep): Declare.
This commit is contained in:
Jeff Johnston 2009-04-06 22:04:33 +00:00
parent 6af3d60df9
commit 43b1cfeca5
3 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2009-04-06 Ken Werner <ken.werner@de.ibm.com>
* libc/include/sys/features.h: Undefine _POSIX_TIMERS for spu.
* libc/include/machine/time.h (nanosleep): Declare.
2009-04-06 Corinna Vinschen <corinna@vinschen.de>
* libc/locale/locale.c (loadlocale): Set mbc_max to 3 for EUCJP.

View File

@ -9,6 +9,11 @@
#endif
#endif /* !__rtems__ */
#ifdef __SPU__
#include <sys/types.h>
int nanosleep (const struct timespec *, struct timespec *);
#endif
#endif /* _MACHTIME_H_ */

View File

@ -170,11 +170,6 @@ extern "C" {
#endif /* !__STRICT_ANSI__ || __cplusplus || __STDC_VERSION__ >= 199901L */
#endif /* __CYGWIN__ */
#ifdef __SPU__
/* Not much for now! */
#define _POSIX_TIMERS 1
#endif
#ifdef __cplusplus
}
#endif