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 WellonsandOzkan Sezer authored and GitHub committed 2023-07-10 03:05:32 +03:00
1 parent 0ad822eb70
commit 8231278817
7 files changed
+18 -71

No files matched your search

+2 -2
View File
@@ -55,12 +55,12 @@ static DWORD RunThread(void *data)
return 0;
}
static DWORD WINAPI RunThreadViaCreateThread(LPVOID data)
static DWORD WINAPI MINGW32_FORCEALIGN RunThreadViaCreateThread(LPVOID data)
{
return RunThread(data);
}
static unsigned __stdcall RunThreadViaBeginThreadEx(void *data)
static unsigned __stdcall MINGW32_FORCEALIGN RunThreadViaBeginThreadEx(void *data)
{
return (unsigned)RunThread(data);
}