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