修改编译器选择宏
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user