*fixed a compile issue.

This commit is contained in:
paladin-t 2016-01-18 11:41:20 +08:00
parent 70e4fc578a
commit 8c12439ba5

View File

@ -97,6 +97,10 @@ static struct mb_interpreter_t* bas = 0;
** Common ** Common
*/ */
#ifndef _countof
# define _countof(__a) (sizeof(__a) / sizeof(*(__a)))
#endif /* _countof */
#ifndef _printf #ifndef _printf
# define _printf printf # define _printf printf
#endif /* _printf */ #endif /* _printf */