24 lines
455 B
C
Executable File
24 lines
455 B
C
Executable File
/*
|
|
* Copyright (c) 2020 STMicroelectronnics. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
/*
|
|
* @file metal/errno.h
|
|
* @brief error specific primitives for libmetal.
|
|
*/
|
|
|
|
#ifndef __METAL_ERRNO__H__
|
|
#define __METAL_ERRNO__H__
|
|
|
|
#if defined(__ICCARM__)
|
|
# include <metal/compiler/iar/errno.h>
|
|
#elif defined(__CC_ARM)
|
|
# include <metal/compiler/armcc/errno.h>
|
|
#else
|
|
# include <errno.h>
|
|
#endif
|
|
|
|
#endif /* __METAL_ERRNO__H__ */
|