Skip to content
Commit 26ea29dd authored by Daniel Leung's avatar Daniel Leung Committed by Dan Kalowsky
Browse files

toolchain: xcc: define __deprecated only if not already defined



Some tests explicitly test for deprecated functions and they
override the macro __deprecated to avoid compiler warnings.
So, for xcc/xt-clang, only define __deprecated if it has not
already been defined.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 1df55181
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment