mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libc/sys/rtems/machine/_types.h (__dev_t): Define. (__dev_t_defined) Likewise. * libc/include/sys/_types.h (__dev_t): Delete RTEMS specific definition.
This commit is contained in:
parent
0351747c13
commit
8635dec1a5
@ -5,6 +5,13 @@
|
||||
* libc/include/sys/_types.h (__dev_t): Delete RTEMS specific
|
||||
definition.
|
||||
|
||||
2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* libc/sys/rtems/machine/_types.h (__dev_t): Define.
|
||||
(__dev_t_defined) Likewise.
|
||||
* libc/include/sys/_types.h (__dev_t): Delete RTEMS specific
|
||||
definition.
|
||||
|
||||
2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* libc/sys/rtems/machine/_types.h (_ssize_t): Delete.
|
||||
|
@ -16,14 +16,9 @@
|
||||
typedef long _off_t;
|
||||
#endif
|
||||
|
||||
#if defined(__rtems__)
|
||||
/* device numbers are 32-bit major and and 32-bit minor */
|
||||
typedef unsigned long long __dev_t;
|
||||
#else
|
||||
#ifndef __dev_t_defined
|
||||
typedef short __dev_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef __uid_t_defined
|
||||
typedef unsigned short __uid_t;
|
||||
|
@ -32,6 +32,7 @@
|
||||
#define _POSIX_ARG_MAX 4096
|
||||
#define _POSIX_CHILD_MAX 6
|
||||
#define _POSIX_DELAYTIMER_MAX 32
|
||||
#define _POSIX_HOST_NAME_MAX 255
|
||||
#define _POSIX_LINK_MAX 8
|
||||
#define _POSIX_MAX_CANON 255
|
||||
#define _POSIX_MAX_INPUT 255
|
||||
|
@ -10,6 +10,9 @@
|
||||
typedef __int32_t blksize_t;
|
||||
typedef __int32_t blkcnt_t;
|
||||
|
||||
typedef __uint64_t __dev_t;
|
||||
#define __dev_t_defined 1
|
||||
|
||||
#if defined(__arm__) || defined(__i386__) || defined(__m68k__) || defined(__mips__) || defined(__PPC__) || defined(__sparc__)
|
||||
/* Use 64bit types */
|
||||
typedef __int64_t _off_t;
|
||||
|
Loading…
x
Reference in New Issue
Block a user