Skip to content
Commit e60f0409 authored by Kai Vehmanen's avatar Kai Vehmanen Committed by Anas Nashif
Browse files

toolchain: xcc: fix build with non-clang xcc versions



toolchain/xcc.h includes toolchain/gcc.h in some configurations
and this will lead to build errors as __in_section_unique_named()
and friends are defined multiple times.

Add ifdef guards to main definitions in gcc.h.

Fixes: 7e32b206 ("toolchain: xcc: Avoid undefs")
Signed-off-by: default avatarKai Vehmanen <kai.vehmanen@linux.intel.com>
parent 2ee0e389
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment