Byteswapping

Alexandre Julliard julliard at winehq.org
Wed Oct 8 14:37:35 CDT 2003


Warren_Baird at 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.

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list