mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-16 12:02:11 +02:00
Rename Kconfig options (root)
* Original commit: espressif/esp-idf@c5000c83d2
This commit is contained in:
@ -18,9 +18,9 @@
|
|||||||
// Enabling exceptions only when they are enabled in menuconfig
|
// Enabling exceptions only when they are enabled in menuconfig
|
||||||
//
|
//
|
||||||
# include <sdkconfig.h>
|
# include <sdkconfig.h>
|
||||||
# ifndef CONFIG_CXX_EXCEPTIONS
|
# ifndef CONFIG_COMPILER_CXX_EXCEPTIONS
|
||||||
# define ASIO_NO_EXCEPTIONS
|
# define ASIO_NO_EXCEPTIONS
|
||||||
# endif // CONFIG_CXX_EXCEPTIONS
|
# endif // CONFIG_COMPILER_CXX_EXCEPTIONS
|
||||||
|
|
||||||
//
|
//
|
||||||
// LWIP compatifility inet and address macros/functions
|
// LWIP compatifility inet and address macros/functions
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
//
|
//
|
||||||
// This exception stub is enabled only if exceptions are disabled in menuconfig
|
// This exception stub is enabled only if exceptions are disabled in menuconfig
|
||||||
//
|
//
|
||||||
#if !defined(CONFIG_CXX_EXCEPTIONS) && defined (ASIO_NO_EXCEPTIONS)
|
#if !defined(CONFIG_COMPILER_CXX_EXCEPTIONS) && defined (ASIO_NO_EXCEPTIONS)
|
||||||
|
|
||||||
#include "esp_log.h"
|
#include "esp_log.h"
|
||||||
|
|
||||||
@ -34,6 +34,6 @@ void throw_exception(const Exception& e)
|
|||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
#endif // CONFIG_CXX_EXCEPTIONS==1 && defined (ASIO_NO_EXCEPTIONS)
|
#endif // CONFIG_COMPILER_CXX_EXCEPTIONS==1 && defined (ASIO_NO_EXCEPTIONS)
|
||||||
|
|
||||||
#endif // _ESP_EXCEPTION_H_
|
#endif // _ESP_EXCEPTION_H_
|
||||||
|
Reference in New Issue
Block a user