mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 07:37:02 +00:00
c28a749f66
Some Windows version expect output to be aligned on 4 bytes. Notes (from i386 and x86_64 tests): - MSVC and Mingw/gcc don't layout the two variables (sdki, sdki_ex) the same way. - MSVC aligns each variable on 4-byte boundary, - MingW/GCC stores them in a 8-byte chunk, but starting from the end of the buffer: hence none of them is on a 4-byte boundary. So, fixing the alignment of variables is not sufficient to workaround the compilers' discrepancy on all source code. I didn't find a generic way to align on 4 bytes structures of size smaller than 4 bytes (apart from adding the DECLSPEC_ALIGN to each of the offending structures, likely not that many though). Ideas welcomed. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53684 Signed-off-by: Eric Pouech <eric.pouech@gmail.com> |
||
---|---|---|
.. | ||
tests | ||
unix | ||
actctx.c | ||
atom.c | ||
crypt.c | ||
debugbuffer.c | ||
env.c | ||
error.c | ||
error.h | ||
exception.c | ||
handletable.c | ||
heap.c | ||
large_int.c | ||
loader.c | ||
locale.c | ||
locale_private.h | ||
make_errors | ||
Makefile.in | ||
math.c | ||
misc.c | ||
ntdll.spec | ||
ntdll_misc.h | ||
path.c | ||
printf.c | ||
printf.h | ||
process.c | ||
reg.c | ||
relay.c | ||
resource.c | ||
rtl.c | ||
rtlbitmap.c | ||
rtlstr.c | ||
sec.c | ||
signal_arm.c | ||
signal_arm64.c | ||
signal_i386.c | ||
signal_x86_64.c | ||
string.c | ||
sync.c | ||
thread.c | ||
threadpool.c | ||
time.c | ||
unixlib.h | ||
version.c | ||
version.rc | ||
wcstring.c |