提交 4591753a 编写于 作者: B Behdad Esfahbod

Define ARRAY_LENGTH

上级 214ac7c1
......@@ -124,16 +124,17 @@ typedef int hb_mutex_t;
#endif
#ifndef NULL
# define NULL ((void *)0)
# define NULL ((void *) 0)
#endif
#ifndef FALSE
# define FALSE 0
#endif
#undef FALSE
#define FALSE 0
#ifndef TRUE
# define TRUE 1
#endif
#undef TRUE
#define TRUE 1
#undef ARRAY_LENGTH
#define ARRAY_LENGTH(__array) ((signed int) (sizeof (__array) / sizeof (__array[0])))
#define HB_STMT_START do
#define HB_STMT_END while (0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册