diff options
author | Simon Glass <sjg@chromium.org> | 2020-12-17 15:04:17 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-12-22 17:11:48 +0000 |
commit | 1eb7b2791fb3c67c183f88e8308242bb1cadc93d (patch) | |
tree | 676396222763db1d8a33819a2178d0cc556d00cb /chip | |
parent | d3dde4c56d3b00564087025032485495ddd18b75 (diff) | |
download | chrome-ec-1eb7b2791fb3c67c183f88e8308242bb1cadc93d.tar.gz |
zephyr: Add support for typeof()
This is not available with gcc when -std is used, as it is in Zephyr
builds. Define typeof() so that the EC codebase case build, e.g. with
the GEN_NOT_SUPPORTED() macro.
BUG=b:175434113
BRANCH=none
TEST=build zephyr for volteer
emerge-volteer -q chromeos-ec
Signed-off-by: Simon Glass <sjg@chromium.org>
Change-Id: Ic923abeec6409857895c6b20f3c47d2d662ca1ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2597984
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'chip')
0 files changed, 0 insertions, 0 deletions