📄 types.h
字号:
#ifndef _INC_TYPES_H
#define _INC_TYPES_H
#ifndef OK
#define OK 0
#else
/* #error "TYPES.H --> OK" */
#endif
#ifndef ERROR
#define ERROR -1
#else
/* #error "TYPEs.H --> ERROR" */
#endif
#ifndef TRUE
#define TRUE 1
#else
/* #error "TYPES.H --> TURE" */
#endif
#ifndef FALSE
#define FALSE 0
#else
/* #error "TYPES.H --> FALSE" */
#endif
#ifndef INET_ADDR_LEN
#define INET_ADDR_LEN 16
#else
#error "TYPES.H --> INET_ADDR_LEN"
#endif
#if 1
#define sg_dbg(fmt, args...) printf("\n<%s,%d>", __FILE__,__LINE__);printf("\n<SG_DBG>: "fmt, ##args)
#else
#define sg_dbg(fmt, args...)
#endif
#define vx_simulator
/*typedef int STATUS;*/
/*typedef int BOOL;*/
#endif /* _INC_TYPES_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -