mirror of
https://github.com/OpenAMP/libmetal.git
synced 2026-02-05 19:26:31 +08:00
- start by "/**", - fix file relative path, - fix typos, Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
26 lines
595 B
C
26 lines
595 B
C
/*
|
|
* Copyright (c) 2015, Xilinx Inc. and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
/**
|
|
* @file compiler.h
|
|
* @brief Compiler specific primitives for libmetal.
|
|
*/
|
|
|
|
#ifndef __METAL_COMPILER__H__
|
|
#define __METAL_COMPILER__H__
|
|
|
|
#if defined(__GNUC__)
|
|
# include <metal/compiler/gcc/compiler.h>
|
|
#elif defined(__ICCARM__)
|
|
# include <metal/compiler/iar/compiler.h>
|
|
#elif defined(__ARMCC_VERSION)
|
|
# error "MDK-ARM ARMCC compiler requires the GNU extensions to work correctly"
|
|
#else
|
|
# error "Missing compiler support"
|
|
#endif
|
|
|
|
#endif /* __METAL_COMPILER__H__ */
|