diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-12-05 00:00:42 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-12-05 00:00:42 -0500 |
commit | a7c1f9727a099da0d4722d4cf81056acd205158b (patch) | |
tree | 90e1c64185cab587af89001e658d039821204a0e /src/mman/mlock.c | |
parent | b427c822655156f17d17cd00110ff5bc22299a38 (diff) | |
download | musl-a7c1f9727a099da0d4722d4cf81056acd205158b.tar.gz |
use __builtin_offsetof to implement offsetof when possible
apparently recent gcc versions have intentionally broken the
traditional definition by treating it as a non-constant expression.
the traditional definition may also be problematic for c++ programs.
Diffstat (limited to 'src/mman/mlock.c')
0 files changed, 0 insertions, 0 deletions