aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/stm32f2/include
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-02-02 02:27:14 -0500
committerMarti Bolivar <mbolivar@leaflabs.com>2012-04-11 16:56:53 -0400
commit9cf4afdd74a280e5aaaa700ffdcbe587631c85ae (patch)
treebf0765e392d96eda4d09a37479b0587e5d78d814 /libmaple/stm32f2/include
parentf7c1bd5f584aed14361979d5a536365a5ad35f8f (diff)
downloadlibrambutan-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 'libmaple/stm32f2/include')
0 files changed, 0 insertions, 0 deletions