全部博文(46)
分类: 系统运维
2008-10-20 13:06:23
找了我好久......
以下语句在C:\cygwin\home\hct\ns-allinone-2.28\ns-2.28\autoconf-win32.h
(路径可能会有所不同)
typedef char int8_t;
typedef unsigned char u_int8_t;
typedef short int16_t;
typedef unsigned short u_int16_t;
typedef int int32_t;
typedef unsigned int u_int32_t;
typedef __int64 int64_t;
typedef unsigned __int64 u_int64_t;
以下语句在C:\cygwin\home\hct\ns-allinone-2.28\ns-2.28\config.h
(路径可能会有所不同)
typedef int32_t nsaddr_t;
typedef int32_t nsmask_t;
struct ns_addr_t {
int32_t addr_;
int32_t port_;
#ifdef __cplusplus
ns_addr_t& operator= (const ns_addr_t& n) {
addr_ = n.addr_;
port_ = n.port_;
return (*this);
}
typedef char *caddr_t;
typedef int pid_t;
typedef int uid_t;
typedef int gid_t;