diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-06-08 19:40:55 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-06-08 19:40:55 +0900 |
commit | 27a59ca2c846e14ec6dbcb86fd2d6f65399ff28d (patch) | |
tree | a8326d8914a11022f708f51237de504ea700ba9c /basictest | |
parent | 5a840517ae738357d3d5afdcef61461e3969edfa (diff) | |
download | ruby-27a59ca2c846e14ec6dbcb86fd2d6f65399ff28d.tar.gz |
file.c: fix compile error with MacPorts gcc
With the SDK of Xcode 10.2.1, `API_AVAILABLE` and so on macros are
not defined in <os/availability.h> when using a compiler other
than clang (which has `__has_feature` and `__has_attribute`), but
`__API_AVAILABLE` macro and so on are defined, which are also
defined in <Availability.h>.
I suspect this is a bug of the SDK.
Diffstat (limited to 'basictest')
0 files changed, 0 insertions, 0 deletions