diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-05-24 20:26:18 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-05-27 15:08:30 +0900 |
commit | 45177129a75c5bfd03933b82076e8dc49acc500f (patch) | |
tree | d7add11b8be0302a6caa06c0dd802ddbbbe29be9 /insns.def | |
parent | 7d9da4c33db6addc4e0f8141adc718391bb10db4 (diff) | |
download | ruby-45177129a75c5bfd03933b82076e8dc49acc500f.tar.gz |
Support old Mac OS X SDK and gcc
Follow up of https://github.com/ruby/ruby/pull/5927
`pthread_threadid_np()` is not even be declared in outdated SDKs.
Also, the `__API_AVAILABLE` macro does not work on gcc, which does not
support the [availability] attribute of clang, so an additional weak
symbol declaration is required to check for weakly linked symbols.
[availability]: https://clang.llvm.org/docs/AttributeReference.html#availability
Diffstat (limited to 'insns.def')
0 files changed, 0 insertions, 0 deletions