ntdll: Return STATUS_NOT_SUPPORTED if dlinfo() is not present.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Huw Davies 2021-08-04 12:23:10 +01:00 committed by Alexandre Julliard
parent d63e0b7084
commit 41e84b3f07
1 changed files with 2 additions and 0 deletions

View File

@ -1745,6 +1745,8 @@ NTSTATUS get_builtin_init_funcs( void *handle, void **funcs, SIZE_T len, SIZE_T
if (init_func) *funcs++ = init_func;
for (i = 0; i < init_arraysz / sizeof(*init_array); i++) funcs[i] = init_array[i];
return STATUS_SUCCESS;
#else
return STATUS_NOT_SUPPORTED;
#endif
}