Switch to using WAPP_PLATFORM_CPP instead of __cplusplus
This commit is contained in:
@@ -3,17 +3,17 @@
|
||||
|
||||
#include "wapp.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#ifdef WAPP_PLATFORM_CPP
|
||||
BEGIN_C_LINKAGE
|
||||
#endif // __cplusplus
|
||||
#endif // WAPP_PLATFORM_CPP
|
||||
|
||||
TestFuncResult test_commander_cmd_success(void);
|
||||
TestFuncResult test_commander_cmd_failure(void);
|
||||
TestFuncResult test_commander_cmd_out_buf_success(void);
|
||||
TestFuncResult test_commander_cmd_out_buf_failure(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#ifdef WAPP_PLATFORM_CPP
|
||||
END_C_LINKAGE
|
||||
#endif // __cplusplus
|
||||
#endif // WAPP_PLATFORM_CPP
|
||||
|
||||
#endif // !TEST_SHELL_COMMANDER_H
|
||||
|
Reference in New Issue
Block a user