Chinaunix首页 | 论坛 | 博客
  • 博客访问: 210224
  • 博文数量: 46
  • 博客积分: 3010
  • 博客等级: 中校
  • 技术积分: 679
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-16 13:11
文章分类
文章存档

2009年(19)

2008年(27)

我的朋友

分类: 系统运维

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;

阅读(504) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~