Fixed a crash on Windows XP with mingw in threaded-code
authorThierry Bastian <thierry.bastian@nokia.com>
Tue, 19 Apr 2011 13:47:23 +0000 (15:47 +0200)
committerOlivier Goffart <olivier.goffart@nokia.com>
Tue, 10 May 2011 10:54:48 +0000 (12:54 +0200)
commit1712e20a5ad7ead5981ce56b28121a9513b06dd2
tree6e62a00c96d1af95e5114f5e40144215024074e4
parent3e787c470de8ea37f9f2b244bf3bbbb86ac65acd
Fixed a crash on Windows XP with mingw in threaded-code

The thread callback doesn't align the stack on 16-bytes on WinXP.
That causes a crash when we call SSE code. So now we tell the
compiler to force that alignment of the stack.

Task: QTBUG-18631
Reviewed-By: Olivier
(cherry picked from commit 364ce5b7f5379499562b4f4f5a68da7ba068fe1e)
src/corelib/thread/qthread_win.cpp