libmetal  latest
errno.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2020 STMicroelectronnics. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 /*
8  * @file metal/errno.h
9  * @brief error specific primitives for libmetal.
10  */
11 
12 #ifndef __METAL_ERRNO__H__
13 #define __METAL_ERRNO__H__
14 
15 #if defined(__ICCARM__)
16 # include <metal/compiler/iar/errno.h>
17 #elif defined(__ARMCC_VERSION)
18 # include <metal/compiler/armcc/errno.h>
19 #else
20 # include <errno.h>
21 #endif
22 
23 #endif /* __METAL_ERRNO__H__ */