From 12ba0c0815bf75c6774b149b71304df3b10d0088 Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Mon, 19 Oct 2020 10:27:16 -0400 Subject: [PATCH] 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; #endif RUBY_SYMBOL_EXPORT_BEGIN -extern bool rb_ujit_enabled; +RUBY_EXTERN bool rb_ujit_enabled; RUBY_SYMBOL_EXPORT_END static inline