修改编译器选择宏

This commit is contained in:
ranchuan
2023-11-02 18:25:12 +08:00
parent 17729e664f
commit 250f91bbad
4 changed files with 5 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ static commend_def *cmd_find(char *name)
extern const int cmdstruct$$Limit;
commend_def *start=(commend_def *)&cmdstruct$$Base;
commend_def *end=(commend_def *)&cmdstruct$$Limit;
#else
#elif defined(__GNUC__)
extern const int __start_cmdstruct;
extern const int __stop_cmdstruct;
commend_def *start=(commend_def *)&__start_cmdstruct;
@@ -126,7 +126,7 @@ static int cmd_help(list_def *argv)
extern const int cmdstruct$$Limit;
commend_def *start=(commend_def *)&cmdstruct$$Base;
commend_def *end=(commend_def *)&cmdstruct$$Limit;
#else
#elif defined (__GNUC__)
extern const int __start_cmdstruct;
extern const int __stop_cmdstruct;
commend_def *start=(commend_def *)&__start_cmdstruct;