aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/include
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2009-04-06 22:04:33 +0000
committerJeff Johnston <jjohnstn@redhat.com>2009-04-06 22:04:33 +0000
commit43b1cfeca529918cb01fc07309c9bae7c1ad3630 (patch)
tree5d999554915a6744eec3b91312e48777a4e4a5d0 /newlib/libc/include
parent6af3d60df9649865ff4edae8ddcd8966021ef1f8 (diff)
downloadnewlib-43b1cfeca529918cb01fc07309c9bae7c1ad3630.zip
newlib-43b1cfeca529918cb01fc07309c9bae7c1ad3630.tar.gz
newlib-43b1cfeca529918cb01fc07309c9bae7c1ad3630.tar.bz2
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.
Diffstat (limited to 'newlib/libc/include')
-rw-r--r--newlib/libc/include/machine/time.h5
-rw-r--r--newlib/libc/include/sys/features.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/newlib/libc/include/machine/time.h b/newlib/libc/include/machine/time.h
index 0caf126..a296857 100644
--- a/newlib/libc/include/machine/time.h
+++ b/newlib/libc/include/machine/time.h
@@ -9,6 +9,11 @@
#endif
#endif /* !__rtems__ */
+#ifdef __SPU__
+#include <sys/types.h>
+int nanosleep (const struct timespec *, struct timespec *);
+#endif
+
#endif /* _MACHTIME_H_ */
diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h
index 1159dfd..866044f 100644
--- a/newlib/libc/include/sys/features.h
+++ b/newlib/libc/include/sys/features.h
@@ -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