mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 23:30:07 +00:00
NaCl: Change clock_t to long int.
This commit is contained in:
parent
3600cf1e52
commit
45c2c56403
@ -1,5 +1,8 @@
|
||||
2015-04-29 Roland McGrath <roland@hack.frob.com>
|
||||
|
||||
* sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
|
||||
* sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
|
||||
|
||||
* sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
|
||||
(euidaccess, eaccess): Define as weak aliases.
|
||||
|
||||
|
@ -46,7 +46,7 @@
|
||||
#define __FSFILCNT64_T_TYPE __FSFILCNT_T_TYPE
|
||||
#define __FSWORD_T_TYPE __SWORD_TYPE
|
||||
#define __ID_T_TYPE __U32_TYPE
|
||||
#define __CLOCK_T_TYPE __SQUAD_TYPE
|
||||
#define __CLOCK_T_TYPE __SLONGWORD_TYPE
|
||||
#define __TIME_T_TYPE __SQUAD_TYPE
|
||||
#define __USECONDS_T_TYPE __U32_TYPE
|
||||
#define __SUSECONDS_T_TYPE __SLONGWORD_TYPE
|
||||
|
@ -41,8 +41,9 @@ typedef struct dirent nacl_abi_dirent_t;
|
||||
typedef struct timeval nacl_abi_timeval_t;
|
||||
typedef struct timespec nacl_abi_timespec_t;
|
||||
|
||||
/* XXX change clock_t? */
|
||||
typedef uint32_t nacl_abi_clock_t;
|
||||
/* This is unsigned in the IRT ABI, but it's traditionally 'long int',
|
||||
so we stick with that. */
|
||||
typedef clock_t nacl_abi_clock_t;
|
||||
|
||||
typedef int32_t nacl_abi_blkcnt_t;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user