2005-12-08 Shaun Jackman <sjackman@gmail.com>
* libc/include/sys/types.h: Remove the ifdef armour around standard POSIX types.
This commit is contained in:
parent
7d6fde96de
commit
2a1fc53c92
|
@ -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>
|
2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
|
* libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
|
||||||
|
|
|
@ -251,11 +251,6 @@ typedef struct _types_fd_set {
|
||||||
#undef __MS_types__
|
#undef __MS_types__
|
||||||
#undef _ST_INT32
|
#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
|
#ifndef __clockid_t_defined
|
||||||
typedef _CLOCKID_T_ clockid_t;
|
typedef _CLOCKID_T_ clockid_t;
|
||||||
|
@ -267,9 +262,7 @@ typedef _TIMER_T_ timer_t;
|
||||||
#define __timer_t_defined
|
#define __timer_t_defined
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__CYGWIN__) || defined(__rtems__)
|
|
||||||
typedef long useconds_t;
|
typedef long useconds_t;
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <sys/features.h>
|
#include <sys/features.h>
|
||||||
|
|
||||||
|
@ -380,8 +373,6 @@ typedef struct {
|
||||||
#endif
|
#endif
|
||||||
#endif /* defined(_POSIX_THREADS) */
|
#endif /* defined(_POSIX_THREADS) */
|
||||||
|
|
||||||
#endif /* defined(__rtems__) */
|
|
||||||
|
|
||||||
#endif /* !__need_inttypes */
|
#endif /* !__need_inttypes */
|
||||||
|
|
||||||
#undef __need_inttypes
|
#undef __need_inttypes
|
||||||
|
|
Loading…
Reference in New Issue