зеркало из https://github.com/github/ruby.git
dln.c: suppress unused function 'abi_check_enabled_p' warning for wasi
This commit is contained in:
Родитель
eebc24218a
Коммит
33dadb2c8a
2
dln.c
2
dln.c
|
@ -426,7 +426,7 @@ dln_sym(void *handle, const char *symbol)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if RUBY_DLN_CHECK_ABI
|
#if RUBY_DLN_CHECK_ABI && (defined(_WIN32) || defined(USE_DLN_DLOPEN))
|
||||||
static bool
|
static bool
|
||||||
abi_check_enabled_p(void)
|
abi_check_enabled_p(void)
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче