Commit 6614028c authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

winebuild: Add IMAGE_FILE_32BIT_MACHINE flag for a 32-bit build.

parent 3de83dcb
...@@ -336,6 +336,8 @@ DLLSPEC *alloc_dll_spec(void) ...@@ -336,6 +336,8 @@ DLLSPEC *alloc_dll_spec(void)
spec->characteristics = IMAGE_FILE_EXECUTABLE_IMAGE; spec->characteristics = IMAGE_FILE_EXECUTABLE_IMAGE;
if (get_ptr_size() > 4) if (get_ptr_size() > 4)
spec->characteristics |= IMAGE_FILE_LARGE_ADDRESS_AWARE; spec->characteristics |= IMAGE_FILE_LARGE_ADDRESS_AWARE;
else
spec->characteristics |= IMAGE_FILE_32BIT_MACHINE;
spec->dll_characteristics = IMAGE_DLLCHARACTERISTICS_NX_COMPAT; spec->dll_characteristics = IMAGE_DLLCHARACTERISTICS_NX_COMPAT;
spec->subsystem = 0; spec->subsystem = 0;
spec->subsystem_major = 4; spec->subsystem_major = 4;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment