"Alexandre Julliard" julliard@winehq.org wrote:
I'm not sure what you are trying to achieve here. If you want to load little-endian files on big-endian machines, you need to swap everything; swapping only the signature is not going to do any good.
My aim is to make winebuild generate a proper PE header for builtin DLLs and allow kernel32 to properly detect PE executables. Btw, that's what PSDK headers have.