mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Fix trivial -Wundef warnings
* See [Feature #17752] Co-authored-by: xtkoba (Tee KOBAYASHI) <xtkoba+ruby@gmail.com>
This commit is contained in:
parent
229cbeba8c
commit
68d6bd0873
Notes:
git
2021-05-04 21:57:21 +09:00
16 changed files with 21 additions and 19 deletions
|
@ -100,7 +100,7 @@ native_tls_set(native_tls_key_t key, void *ptr)
|
|||
|
||||
RUBY_SYMBOL_EXPORT_BEGIN
|
||||
#ifdef RB_THREAD_LOCAL_SPECIFIER
|
||||
#if __APPLE__
|
||||
#ifdef __APPLE__
|
||||
// on Darwin, TLS can not be accessed across .so
|
||||
struct rb_execution_context_struct *rb_current_ec();
|
||||
void rb_current_ec_set(struct rb_execution_context_struct *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue