diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2007-06-13 17:44:24 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2007-06-13 17:44:24 +0000 |
commit | a8b08518c115928e471b02cf200cf54b2462f048 (patch) | |
tree | b5360122fa1113f8326bd330a8cb71e30b1d7016 /newlib/libc/include/sys/features.h | |
parent | 8905d0dcfde388f376367767b0f450dbbeeef90c (diff) | |
download | cygnal-a8b08518c115928e471b02cf200cf54b2462f048.tar.gz cygnal-a8b08518c115928e471b02cf200cf54b2462f048.tar.bz2 cygnal-a8b08518c115928e471b02cf200cf54b2462f048.zip |
2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
* 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.
Diffstat (limited to 'newlib/libc/include/sys/features.h')
-rw-r--r-- | newlib/libc/include/sys/features.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 |