diff options
author | Rich Felker <dalias@aerifal.cx> | 2019-10-17 19:35:17 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-10-17 19:35:17 -0400 |
commit | 2d3083e746cf314c16048875e919305b1018bf8b (patch) | |
tree | 75c9d485a26165f8d8960a3708083854a9edfcdd /src/include/langinfo.h | |
parent | 7cc79d10afd43811a486fd5e9fcdf8e45ac599e0 (diff) | |
download | musl-2d3083e746cf314c16048875e919305b1018bf8b.tar.gz |
move pthread types out of per-arch alltypes.h
policy has long been that these definitions are purely a function of
whether long/pointer is 32- or 64-bit, and that they are not allowed
to vary per-arch. move the definition to the shared alltypes.h.in
fragment, using integer constant expressions in terms of sizeof to
vary the array dimensions appropriately. I'm not sure whether this is
more or less ugly than using preprocessor conditionals and two sets of
definitions here, but either way is a lot less ugly than repeating the
same thing for every arch.
Diffstat (limited to 'src/include/langinfo.h')
0 files changed, 0 insertions, 0 deletions