From a8b08518c115928e471b02cf200cf54b2462f048 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Wed, 13 Jun 2007 17:44:24 +0000 Subject: 2007-06-13 Patrick Mansfield * libc/include/sys/features.h: Define _POSIX_TIMERS for spu. * libc/include/sys/unistd.h: Change usleep prototype to Posix form and move outside of OS flag checks. * libc/machine/spu/Makefile.am: Add sleep and usleep. * libc/machine/spu/Makefile.in: Regenerate. * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c. * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c. --- newlib/libc/include/sys/features.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'newlib/libc/include/sys/features.h') diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h index a088d82b1..196aaae64 100644 --- a/newlib/libc/include/sys/features.h +++ b/newlib/libc/include/sys/features.h @@ -166,6 +166,11 @@ extern "C" { #endif +#ifdef __SPU__ +/* Not much for now! */ +#define _POSIX_TIMERS 1 +#endif + #ifdef __cplusplus } #endif -- cgit v1.2.3