Author :
Sam Lantinga
Date :
2018-05-07 19:26:02
Hash :c04dca0d Message :Fixed bug 4159 - Windows headers are included after packing alignment change
lectem
The SDL_syswm.h header includes the windows.h header after including begin_code.h which changes the structure packing alignment.
It seems this is not safe as suggested by the following warning :
warning C4121: 'JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V2': alignment of a member was sensitive to packing