dln.c: suppress unused function 'abi_check_enabled_p' warning for wasi

This commit is contained in:
Yuta Saito 2022-03-01 12:27:41 +00:00
parent eebc24218a
commit 33dadb2c8a
Notes: git 2022-03-01 23:34:11 +09:00

2
dln.c
View File

@ -426,7 +426,7 @@ dln_sym(void *handle, const char *symbol)
}
#endif
#if RUBY_DLN_CHECK_ABI
#if RUBY_DLN_CHECK_ABI && (defined(_WIN32) || defined(USE_DLN_DLOPEN))
static bool
abi_check_enabled_p(void)
{