ruby-changes:68639
From: Alan <ko1@a...>
Date: Thu, 21 Oct 2021 08:11:26 +0900 (JST)
Subject: [ruby-changes:68639] 12ba0c0815 (master): Declare extern with RUBY_EXTERN for MJIT
https://git.ruby-lang.org/ruby.git/commit/?id=12ba0c0815 From 12ba0c0815bf75c6774b149b71304df3b10d0088 Mon Sep 17 00:00:00 2001 From: Alan Wu <XrXr@u...> Date: Mon, 19 Oct 2020 10:27:16 -0400 Subject: Declare extern with RUBY_EXTERN for MJIT --- ujit_compile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ujit_compile.h b/ujit_compile.h index ae5126a5b5..b849b391d5 100644 --- a/ujit_compile.h +++ b/ujit_compile.h @@ -11,7 +11,7 @@ typedef struct rb_iseq_struct rb_iseq_t; https://github.com/ruby/ruby/blob/trunk/ujit_compile.h#L11 #endif RUBY_SYMBOL_EXPORT_BEGIN -extern bool rb_ujit_enabled; +RUBY_EXTERN bool rb_ujit_enabled; RUBY_SYMBOL_EXPORT_END static inline -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/