wine/dlls/ntdll
Eric Pouech c28a749f66 ntdll/tests: Force alignment of output structures.
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>
2022-10-20 18:30:32 +02:00
..
tests ntdll/tests: Force alignment of output structures. 2022-10-20 18:30:32 +02:00
unix ntdll: Add CFI unwind info to __wine_syscall_dispatcher (x86_64). 2022-10-20 17:21:45 +02:00
actctx.c
atom.c
crypt.c
debugbuffer.c
env.c ntdll: Use a different alignment for initial process parameters. 2022-09-09 17:30:55 +02:00
error.c
error.h
exception.c
handletable.c
heap.c ntdll: Remove shared heap functionality. 2022-10-12 15:47:57 +02:00
large_int.c
loader.c
locale.c
locale_private.h
make_errors
Makefile.in
math.c
misc.c
ntdll.spec ntdll: Add NtCancelSynchronousIoFile stub. 2022-10-17 11:22:26 +02:00
ntdll_misc.h
path.c ntdll: Add RtlDosPathNameToRelativeNtPathName_U. 2022-09-19 20:12:02 +02:00
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 ntdll: Implement RtlRestoreContext on i386. 2022-08-23 09:46:24 -05:00
signal_x86_64.c
string.c
sync.c
thread.c
threadpool.c ntdll: Set the name of internal thread pool threads. 2022-09-26 21:49:54 +02:00
time.c
unixlib.h
version.c
version.rc
wcstring.c