diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-18 20:24:52 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-18 20:24:52 +0000 |
commit | 134bbb8cd880698e08e13e1159c9c1cba6908ce4 (patch) | |
tree | 47aebe1ac66899dd36e8004f4f1f047e6b3e1755 /loader | |
parent | 87edb382c68161f5f23bf2061a93bf684690e870 (diff) | |
download | mpv-134bbb8cd880698e08e13e1159c9c1cba6908ce4.tar.bz2 mpv-134bbb8cd880698e08e13e1159c9c1cba6908ce4.tar.xz |
Add a InitializeCriticalSectionAndSpinCount function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30640 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader')
-rw-r--r-- | loader/win32.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/loader/win32.c b/loader/win32.c index 100c1f3c89..39c9d65b05 100644 --- a/loader/win32.c +++ b/loader/win32.c @@ -1348,6 +1348,11 @@ static void WINAPI expInitializeCriticalSection(CRITICAL_SECTION* c) return; } +static void WINAPI expInitializeCriticalSectionAndSpinCount(CRITICAL_SECTION* c, DWORD spin) +{ + expInitializeCriticalSection(c); +} + static void WINAPI expEnterCriticalSection(CRITICAL_SECTION* c) { #ifdef CRITSECS_NEWTYPE @@ -4984,6 +4989,7 @@ struct exports exp_kernel32[]= FF(VirtualAlloc, -1) FF(VirtualFree, -1) FF(InitializeCriticalSection, -1) + FF(InitializeCriticalSectionAndSpinCount, -1) FF(EnterCriticalSection, -1) FF(LeaveCriticalSection, -1) FF(DeleteCriticalSection, -1) |