about summary refs log tree commit diff
path: root/include/scsi/sg.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-12-05 00:00:42 -0500
committerRich Felker <dalias@aerifal.cx>2012-12-05 00:00:42 -0500
commita7c1f9727a099da0d4722d4cf81056acd205158b (patch)
tree90e1c64185cab587af89001e658d039821204a0e /include/scsi/sg.h
parentb427c822655156f17d17cd00110ff5bc22299a38 (diff)
downloadmusl-a7c1f9727a099da0d4722d4cf81056acd205158b.tar.gz
musl-a7c1f9727a099da0d4722d4cf81056acd205158b.tar.xz
musl-a7c1f9727a099da0d4722d4cf81056acd205158b.zip
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 'include/scsi/sg.h')
0 files changed, 0 insertions, 0 deletions