Commit f3a8f603 authored by Alex Richardson's avatar Alex Richardson Committed by Anup Patel
Browse files

include: types: Use __builtin_offsetof when supported



Clang provides a __builtin_offsetof which can be detected using
__has_builtin().

Signed-off-by: default avatarAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Reviewed-by: default avatarAnup Patel <anup.patel@wdc.com>
parent 7210e907
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment