提交 a6367a17 编写于 作者: S Szabolcs Nagy

on x86_64 use long instead of long long for 64bit posix types

following glibc use the lowest rank 64bit integer type for ino_t etc.
this is eg. useful for printf format compatibility
上级 1e5eb735
...@@ -94,12 +94,12 @@ TYPEDEF long off_t; ...@@ -94,12 +94,12 @@ TYPEDEF long off_t;
TYPEDEF unsigned int mode_t; TYPEDEF unsigned int mode_t;
TYPEDEF unsigned long nlink_t; TYPEDEF unsigned long nlink_t;
TYPEDEF unsigned long long ino_t; TYPEDEF unsigned long ino_t;
TYPEDEF unsigned long dev_t; TYPEDEF unsigned long dev_t;
TYPEDEF long blksize_t; TYPEDEF long blksize_t;
TYPEDEF long long blkcnt_t; TYPEDEF long blkcnt_t;
TYPEDEF unsigned long long fsblkcnt_t; TYPEDEF unsigned long fsblkcnt_t;
TYPEDEF unsigned long long fsfilcnt_t; TYPEDEF unsigned long fsfilcnt_t;
TYPEDEF void * timer_t; TYPEDEF void * timer_t;
TYPEDEF int clockid_t; TYPEDEF int clockid_t;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册