mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-29 20:05:09 +00:00
24 lines
476 B
C
24 lines
476 B
C
/*
|
|
* SPDX-FileCopyrightText: 2025-2026 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#include_next <sys/cdefs.h>
|
|
#include "sdkconfig.h"
|
|
|
|
#if CONFIG_LIBC_PICOLIBC_NEWLIB_COMPATIBILITY
|
|
#include <stdint.h>
|
|
#include <stddef.h>
|
|
#endif
|
|
|
|
#if CONFIG_LIBC_PICOLIBC // TODO IDF-15569
|
|
#undef __noreturn
|
|
#if __has_attribute(__noreturn__)
|
|
#define __noreturn __attribute__((__noreturn__))
|
|
#else
|
|
#define __noreturn
|
|
#endif
|
|
#else
|
|
#define __noreturn
|
|
#endif
|