diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-01-23 12:14:19 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-01-24 10:49:35 +0900 |
commit | 50925b64099df2021f7cdf652f7e807808cb1482 (patch) | |
tree | 1ead0d65019631e14a76e02ba2fb9b3555a605f6 /lib/fileutils.rb | |
parent | 3b9f36d6c6a4e02bf6c9bc99e953d5e558ee2fe6 (diff) | |
download | ruby-50925b64099df2021f7cdf652f7e807808cb1482.tar.gz |
reroute musl unistd.h weirdness
Musl is (of course) not glibc. Its confstr(3) does not understand
_CS_GNU_LIBC_VERSION. That's fair. Problem is, its unistd.h has that
constant defined for unknown reason. We cannot blindly say the libc is
glibc by looking at it. Instead we have to kick it, then see if it
quacks like a duck.
See https://git.musl-libc.org/cgit/musl/tree/include/unistd.h
Diffstat (limited to 'lib/fileutils.rb')
0 files changed, 0 insertions, 0 deletions