Mercurial > mplayer.hg
changeset 33303:c9a13a381946
Replace _beginthreadex() by CreateThread().
This fixes a compile problem with Cygwin.
Patch by Stephen Sheldon, sfsheldo gmail com.
author | ib |
---|---|
date | Fri, 06 May 2011 15:50:49 +0000 |
parents | ae69321fd48b |
children | d63bf64a2094 |
files | gui/win32/interface.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/win32/interface.c Fri May 06 13:10:39 2011 +0000 +++ b/gui/win32/interface.c Fri May 06 15:50:49 2011 +0000 @@ -493,7 +493,7 @@ /* Create The gui thread */ if (!mygui) { - hThread = _beginthreadex(NULL, 0, GuiThread, NULL, 0, &threadId); + hThread = CreateThread(NULL, 0, GuiThread, NULL, 0, &threadId); mp_msg(MSGT_GPLAYER, MSGL_V, "[GUI] Creating GUI Thread 0x%04x\n", threadId); }