2015-04-11 01:44:37 +02:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2010-2014, Wind River Systems, Inc.
|
|
|
|
*
|
2017-01-19 02:01:01 +01:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2015-04-11 01:44:37 +02:00
|
|
|
*/
|
|
|
|
|
2015-12-04 16:09:39 +01:00
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* @brief Macros to abstract toolchain specific capabilities
|
|
|
|
*
|
2015-10-20 18:42:33 +02:00
|
|
|
* This file contains various macros to abstract compiler capabilities that
|
|
|
|
* utilize toolchain specific attributes and/or pragmas.
|
2015-07-01 23:22:39 +02:00
|
|
|
*/
|
2015-04-11 01:44:37 +02:00
|
|
|
|
2018-09-14 19:43:44 +02:00
|
|
|
#ifndef ZEPHYR_INCLUDE_TOOLCHAIN_H_
|
|
|
|
#define ZEPHYR_INCLUDE_TOOLCHAIN_H_
|
2015-04-11 01:44:37 +02:00
|
|
|
|
2017-05-10 22:28:38 +02:00
|
|
|
#if defined(__XCC__)
|
|
|
|
#include <toolchain/xcc.h>
|
|
|
|
#elif defined(__GNUC__) || (defined(_LINKER) && defined(__GCC_LINKER_CMD__))
|
2015-04-11 01:44:37 +02:00
|
|
|
#include <toolchain/gcc.h>
|
|
|
|
#else
|
2015-04-28 00:03:01 +02:00
|
|
|
#include <toolchain/other.h>
|
2015-04-11 01:44:37 +02:00
|
|
|
#endif
|
|
|
|
|
2018-09-14 19:43:44 +02:00
|
|
|
#endif /* ZEPHYR_INCLUDE_TOOLCHAIN_H_ */
|