1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Always define __qaddr_t. __ino64_t should be 32bit unsigned type on sparc32. Define __off64_t to __quad_t instead of __int64_t. Make __pic_pid_t unsigned on sparc32.

This commit is contained in:
Ulrich Drepper
1999-07-26 16:02:52 +00:00
parent c4bf322675
commit ed1b3af2ef

View File

@ -61,23 +61,23 @@ typedef unsigned int __uint32_t;
#if __WORDSIZE == 64 #if __WORDSIZE == 64
typedef signed long int __int64_t; typedef signed long int __int64_t;
typedef unsigned long int __uint64_t; typedef unsigned long int __uint64_t;
typedef __quad_t *__qaddr_t;
#else #else
# ifdef __GNUC__ # ifdef __GNUC__
__extension__ typedef signed long long int __int64_t; __extension__ typedef signed long long int __int64_t;
__extension__ typedef unsigned long long int __uint64_t; __extension__ typedef unsigned long long int __uint64_t;
# endif # endif
#endif #endif
typedef __quad_t *__qaddr_t;
typedef __u_quad_t __dev_t; /* Type of device numbers. */ typedef __u_quad_t __dev_t; /* Type of device numbers. */
typedef __u_int __uid_t; /* Type of user identifications. */ typedef __u_int __uid_t; /* Type of user identifications. */
typedef __u_int __gid_t; /* Type of group identifications. */ typedef __u_int __gid_t; /* Type of group identifications. */
typedef __u_long __ino_t; /* Type of file serial numbers. */ typedef __u_long __ino_t; /* Type of file serial numbers. */
typedef __uint64_t __ino64_t; /* Type of file serial numbers. */ typedef __u_long __ino64_t; /* Type of file serial numbers. */
typedef __u_int __mode_t; /* Type of file attribute bitmasks. */ typedef __u_int __mode_t; /* Type of file attribute bitmasks. */
typedef __u_int __nlink_t; /* Type of file link counts. */ typedef __u_int __nlink_t; /* Type of file link counts. */
typedef long int __off_t; /* Type of file sizes and offsets. */ typedef long int __off_t; /* Type of file sizes and offsets. */
typedef __int64_t __off64_t; /* "" (LFS) */ typedef __quad_t __off64_t; /* "" (LFS) */
typedef __quad_t __loff_t; /* Type of file sizes and offsets. */ typedef __quad_t __loff_t; /* Type of file sizes and offsets. */
typedef int __pid_t; /* Type of process identifications. */ typedef int __pid_t; /* Type of process identifications. */
#if __WORDSIZE == 64 #if __WORDSIZE == 64
@ -140,7 +140,7 @@ typedef int __key_t;
#if __WORDSIZE == 64 #if __WORDSIZE == 64
typedef int __ipc_pid_t; typedef int __ipc_pid_t;
#else #else
typedef short int __ipc_pid_t; typedef unsigned short int __ipc_pid_t;
#endif #endif