treewide: Use CONFIG_CPP instead of CONFIG_CPLUSPLUS
This commit updates all in-tree code to use `CONFIG_CPP` instead of `CONFIG_CPLUSPLUS`, which is now deprecated. Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
This commit is contained in:
parent
05aea1ce58
commit
4a64bfe351
47 changed files with 97 additions and 97 deletions
|
@ -23,7 +23,7 @@ menuconfig NET_L2_OPENTHREAD
|
|||
|
||||
select SETTINGS if FLASH
|
||||
select OPENTHREAD_SETTINGS_RAM if !FLASH
|
||||
select CPLUSPLUS
|
||||
select CPP
|
||||
select REBOOT
|
||||
select ENTROPY_GENERATOR
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ extern "C" {
|
|||
|
||||
/* Architecture thread structure */
|
||||
struct _callee_saved {
|
||||
#ifdef CONFIG_CPLUSPLUS
|
||||
#ifdef CONFIG_CPP
|
||||
/* C++ does not allow empty structs, add an extra 1 byte */
|
||||
uint8_t c;
|
||||
#endif
|
||||
|
@ -23,7 +23,7 @@ struct _callee_saved {
|
|||
typedef struct _callee_saved _callee_saved_t;
|
||||
|
||||
struct _thread_arch {
|
||||
#ifdef CONFIG_CPLUSPLUS
|
||||
#ifdef CONFIG_CPP
|
||||
/* C++ does not allow empty structs, add an extra 1 byte */
|
||||
uint8_t c;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue