File tree Expand file tree Collapse file tree 4 files changed +11
-0
lines changed Expand file tree Collapse file tree 4 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 13
13
* .crf
14
14
build
15
15
Debug
16
+ .vs
16
17
rtthread
17
18
settings
18
19
documentation /html
Original file line number Diff line number Diff line change 44
44
<WarningLevel >Level3</WarningLevel >
45
45
<DebugInformationFormat >EditAndContinue</DebugInformationFormat >
46
46
<AdditionalOptions >/utf-8 %(AdditionalOptions)</AdditionalOptions >
47
+ <LanguageStandard_C >stdc11</LanguageStandard_C >
47
48
</ClCompile >
48
49
<Link >
49
50
<AdditionalDependencies >winmm.lib;Packet.lib;wpcap.lib;%(AdditionalDependencies)</AdditionalDependencies >
Original file line number Diff line number Diff line change @@ -196,13 +196,21 @@ typedef struct msh_cmd_opt
196
196
* Declares a static array of command options for a specific command.
197
197
* @param command The command associated with these options.
198
198
*/
199
+ #ifdef _MSC_VER
200
+ #define CMD_OPTIONS_STATEMENT (command ) static struct msh_cmd_opt command##_msh_options[16];
201
+ #else
199
202
#define CMD_OPTIONS_STATEMENT (command ) static struct msh_cmd_opt command##_msh_options[];
203
+ #endif
200
204
201
205
/**
202
206
* Starts the definition of command options for a specific command.
203
207
* @param command The command these options are associated with.
204
208
*/
209
+ #ifdef _MSC_VER
210
+ #define CMD_OPTIONS_NODE_START (command ) static struct msh_cmd_opt command##_msh_options[16] = {
211
+ #else
205
212
#define CMD_OPTIONS_NODE_START (command ) static struct msh_cmd_opt command##_msh_options[] = {
213
+ #endif
206
214
207
215
/**
208
216
* Defines a single command option.
Original file line number Diff line number Diff line change 32
32
* 2023-10-17 ChuShicheng Modify the timing of clearing RT_THREAD_STAT_YIELD flag bits
33
33
*/
34
34
35
+ #define __RT_IPC_SOURCE__
35
36
#include <rtthread.h>
36
37
#include <rthw.h>
37
38
You can’t perform that action at this time.
0 commit comments