Unaligned stacks on i686-w64-mingw32, may lead to crashes (#7607)

Co-authored-by: Ozkan Sezer <sezeroz@gmail.com>
This commit is contained in:
Christopher Wellons
2023-07-09 20:05:32 -04:00
committed by GitHub
parent 0ad822eb70
commit 8231278817
7 changed files with 18 additions and 71 deletions

View File

@@ -103,7 +103,7 @@ int console_wmain(int argc, wchar_t *wargv[], wchar_t *wenvp)
#endif
/* This is where execution begins [windowed apps] */
int WINAPI
int WINAPI MINGW32_FORCEALIGN
WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR szCmdLine, int sw) /* NOLINT(readability-inconsistent-declaration-parameter-name) */
{
return main_getcmdline();