cross-compilation align fix

James Hawkins truiken at gmail.com
Tue Feb 15 22:28:41 CST 2005


Hi,

GCC needs the 64-bit types to have the DECLSPEC_ALIGN(8) modifier,
otherwise it will align the type to 4 bytes, while msvc defaults to
aligning them to 8 bytes.  This modifier caused an error in msvc
because parameters can't be aligned.

Changelog
* Conditionally add DECLSPEC_ALIGN(8) to wine's 64-bit types and leave
the modifier off when compiling with msvc.

-- 
James Hawkins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: align-fix.diff
Type: text/x-diff
Size: 2897 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050215/88a8b73f/align-fix.bin


More information about the wine-patches mailing list