diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-02-02 02:27:14 -0500 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-04-11 16:56:53 -0400 |
commit | 9cf4afdd74a280e5aaaa700ffdcbe587631c85ae (patch) | |
tree | bf0765e392d96eda4d09a37479b0587e5d78d814 /notes/dac.txt | |
parent | f7c1bd5f584aed14361979d5a536365a5ad35f8f (diff) | |
download | librambutan-9cf4afdd74a280e5aaaa700ffdcbe587631c85ae.tar.gz librambutan-9cf4afdd74a280e5aaaa700ffdcbe587631c85ae.zip |
libmaple_types.h: Add offsetof().
Rather than rely on newlib's stddef.h, define our own offsetof() in
terms of GCC's __builtin_offsetof(). Don't override an existing
offsetof() definition, in case the user already has one they prefer.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'notes/dac.txt')
0 files changed, 0 insertions, 0 deletions