diff options
author | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2021-07-12 13:39:59 +0100 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-07-17 16:40:07 +0530 |
commit | f3a8f603a702b10f13f0fad7c0c815b21fb2384a (patch) | |
tree | 083b4a45cbcd1f0cda1fd75f7a1621601fe09e45 /firmware | |
parent | 7210e907858be23a207479e26fde947e968b7f29 (diff) |
include: types: Use __builtin_offsetof when supported
Clang provides a __builtin_offsetof which can be detected using
__has_builtin().
Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions