mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 21:24:32 +02:00
fix(esp_system): Fixed C++ compilation of libunwind.h
This commit is contained in:
@@ -4,8 +4,7 @@
|
|||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LIBUNWIND_H
|
#pragma once
|
||||||
#define LIBUNWIND_H
|
|
||||||
|
|
||||||
#include "sdkconfig.h"
|
#include "sdkconfig.h"
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
@@ -132,4 +131,6 @@ int unw_get_reg(unw_cursor_t* cp, unw_regnum_t reg, unw_word_t* valp);
|
|||||||
*/
|
*/
|
||||||
int unw_set_reg(unw_cursor_t* cp, unw_regnum_t reg, unw_word_t val);
|
int unw_set_reg(unw_cursor_t* cp, unw_regnum_t reg, unw_word_t val);
|
||||||
|
|
||||||
#endif // LIBUNWIND_H
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user