used CreateMutexEx for WINRT and WP8

This commit is contained in:
Dale Stammen 2014-12-30 21:24:05 -08:00
parent ac95d292bd
commit 2948a0cdcd
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@
WaitForSingleObject(m, INFINITE)
#elif CC_TARGET_PLATFORM == CC_PLATFORM_WP8 || CC_TARGET_PLATFORM == CC_PLATFORM_WINRT
#define MUTEX_INIT(m) \
m = OpenMutex(0, FALSE, 0)
m = CreateMutexEx(NULL,FALSE,0,NULL);
#define MUTEX_LOCK(m) \
WaitForSingleObjectEx(m, INFINITE, false)
#endif