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:
Stephanos Ioannidis 2022-12-09 06:16:44 +09:00 committed by Christopher Friedt
commit 4a64bfe351
47 changed files with 97 additions and 97 deletions

View file

@ -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

View file

@ -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