提交 147f355c 编写于 作者: R Rich Felker

apparently gnu caddr_t is supposed to be char *, not unsigned long

this type should never be used anyway, but some old junk uses it..
上级 96e0aca4
...@@ -59,7 +59,7 @@ typedef __uint32_t u_int32_t; ...@@ -59,7 +59,7 @@ typedef __uint32_t u_int32_t;
typedef __uint64_t u_int64_t; typedef __uint64_t u_int64_t;
#ifdef _GNU_SOURCE #ifdef _GNU_SOURCE
typedef unsigned long caddr_t; typedef char *caddr_t;
typedef unsigned char u_char; typedef unsigned char u_char;
typedef unsigned short u_short, ushort; typedef unsigned short u_short, ushort;
typedef unsigned u_int, uint; typedef unsigned u_int, uint;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册