winebuild: Mark builtin DLLs as IMAGE_FILE_LARGE_ADDRESS_AWARE on a 64-bit platform.

oldstable
Dmitry Timoshkov 2007-05-28 13:44:46 +09:00 committed by Alexandre Julliard
parent 56267608f1
commit bb15683818
1 changed files with 2 additions and 0 deletions

View File

@ -334,6 +334,8 @@ DLLSPEC *alloc_dll_spec(void)
spec->nb_names = 0;
spec->nb_resources = 0;
spec->characteristics = IMAGE_FILE_EXECUTABLE_IMAGE;
if (get_ptr_size() > 4)
spec->characteristics |= IMAGE_FILE_LARGE_ADDRESS_AWARE;
spec->dll_characteristics = IMAGE_DLLCHARACTERISTICS_NX_COMPAT;
spec->subsystem = 0;
spec->subsystem_major = 4;