aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2005-12-08 19:45:43 +0000
committerJeff Johnston <jjohnstn@redhat.com>2005-12-08 19:45:43 +0000
commit2a1fc53c92f5308e6bda3902df45f058e465917e (patch)
tree74b6bb9ee38c7345c1316e43ad3fee9c32b275e4 /newlib
parent7d6fde96deca12d77c7bd00c5d3216b94eb1bdea (diff)
downloadnewlib-2a1fc53c92f5308e6bda3902df45f058e465917e.zip
newlib-2a1fc53c92f5308e6bda3902df45f058e465917e.tar.gz
newlib-2a1fc53c92f5308e6bda3902df45f058e465917e.tar.bz2
2005-12-08 Shaun Jackman <sjackman@gmail.com>
* libc/include/sys/types.h: Remove the ifdef armour around standard POSIX types.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/sys/types.h9
2 files changed, 5 insertions, 9 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 28b4924..10001d4 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2005-12-08 Shaun Jackman <sjackman@gmail.com>
+
+ * libc/include/sys/types.h: Remove the ifdef armour around
+ standard POSIX types.
+
2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
* libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h
index 5c288bf..d03de7b 100644
--- a/newlib/libc/include/sys/types.h
+++ b/newlib/libc/include/sys/types.h
@@ -251,11 +251,6 @@ typedef struct _types_fd_set {
#undef __MS_types__
#undef _ST_INT32
-/* The following are actually standard POSIX 1003.1b-1993 threads, mutexes,
- condition variables, and keys. But since RTEMS is currently the only
- newlib user of these, the ifdef is just on RTEMS. */
-
-#if defined(__rtems__) || defined(__CYGWIN__)
#ifndef __clockid_t_defined
typedef _CLOCKID_T_ clockid_t;
@@ -267,9 +262,7 @@ typedef _TIMER_T_ timer_t;
#define __timer_t_defined
#endif
-#if defined(__CYGWIN__) || defined(__rtems__)
typedef long useconds_t;
-#endif
#include <sys/features.h>
@@ -380,8 +373,6 @@ typedef struct {
#endif
#endif /* defined(_POSIX_THREADS) */
-#endif /* defined(__rtems__) */
-
#endif /* !__need_inttypes */
#undef __need_inttypes