ntdll: Append ntdll.dll to the builtin_modules list.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49626 Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3f8d60e2ac
commit
b7e51a1653
|
@ -1301,7 +1301,10 @@ static HMODULE load_ntdll(void)
|
||||||
|
|
||||||
if ((fd = open( name, O_RDONLY )) != -1)
|
if ((fd = open( name, O_RDONLY )) != -1)
|
||||||
{
|
{
|
||||||
status = virtual_map_ntdll( fd, &module );
|
struct stat st;
|
||||||
|
fstat( fd, &st );
|
||||||
|
if (!(status = virtual_map_ntdll( fd, &module )))
|
||||||
|
add_builtin_module( module, NULL, &st );
|
||||||
close( fd );
|
close( fd );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue