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
Родитель eebc24218a
Коммит 33dadb2c8a
1 изменённых файлов: 1 добавлений и 1 удалений

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)
{ {