Tested on Linux (native), Linux / MinGW, AIX. Native platforms still
run the tests (and succeed / fail as before).
On MinGW, if there is no cross-built libcmocka, this patch will not change
anything. If there is, it tries to build the tests, which fails for me,
but this seems to be a local insta
Acked-by: Gert Doering
I'm no windows expert, but googling says "this is what you do for
windows function calls". MinGW compiles without complaints, as
does GHA.
The GetOverlappedResultEx() can be cleaned up as soon as we drop
Windows 7 support, not sure about the IsWow64Process2() thing.
Can