Warren_Baird@cimmetry.com writes:
The best solution I can think of at the moment is to put the byteswap macros into wine/include/wine/port.h, which is one of the few main wine header that is included in the wrc code - but then we'll have to include config.h and port.h in at least one place they aren't currently included : dlls/ole32/storage32.c
Does anyone have any better suggestions?
The best is to use the Rtl*ByteSwap functions from winternl.h.