fix the FINSH_USING_SYMTAB not defined and compiling error issue

This commit is contained in:
bernard 2014-01-04 06:03:24 +08:00
parent 6a624356e4
commit e393b8fcfa
1 changed files with 6 additions and 1 deletions

View File

@ -204,8 +204,13 @@ typedef int (*init_fn_t)(void);
#if !defined(RT_USING_FINSH)
/* define these to empty, even if not include finsh.h file */
#define FINSH_FUNCTION_EXPORT_CMD(name, cmd, desc)
#define FINSH_FUNCTION_EXPORT(name, desc)
#define FINSH_FUNCTION_EXPORT_ALIAS(name, alias, desc)
#define FINSH_VAR_EXPORT(name, type, desc)
#define MSH_CMD_EXPORT(command, desc)
#elif !defined(FINSH_USING_SYMTAB)
#define FINSH_FUNCTION_EXPORT_CMD(name, cmd, desc)
#endif
/* event length */