cross-compilation align fix

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


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.

* 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 :

More information about the wine-patches mailing list