ruby-changes:71301
From: Yuta <ko1@a...>
Date: Tue, 1 Mar 2022 23:34:08 +0900 (JST)
Subject: [ruby-changes:71301] 33dadb2c8a (master): dln.c: suppress unused function 'abi_check_enabled_p' warning for wasi
https://git.ruby-lang.org/ruby.git/commit/?id=33dadb2c8a From 33dadb2c8aeaaa03f90e4b0f2613031633aa8751 Mon Sep 17 00:00:00 2001 From: Yuta Saito <kateinoigakukun@g...> Date: Tue, 1 Mar 2022 12:27:41 +0000 Subject: dln.c: suppress unused function 'abi_check_enabled_p' warning for wasi --- dln.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dln.c b/dln.c index a38ff7341d..767bae9479 100644 --- a/dln.c +++ b/dln.c @@ -426,7 +426,7 @@ dln_sym(void *handle, const char *symbol) https://github.com/ruby/ruby/blob/trunk/dln.c#L426 } #endif -#if RUBY_DLN_CHECK_ABI +#if RUBY_DLN_CHECK_ABI && (defined(_WIN32) || defined(USE_DLN_DLOPEN)) static bool abi_check_enabled_p(void) { -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/