fix freerdp_sem_new for Windows

This commit is contained in:
Jay Sorg 2012-09-18 17:41:39 -07:00
parent 67b6acc7a8
commit a55ccc557b
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ freerdp_sem freerdp_sem_new(int iv)
#if defined __APPLE__
semaphore_create(mach_task_self(), sem, SYNC_POLICY_FIFO, iv);
#elif defined _WIN32
*sem = CreateSemaphore(NULL, 0, iv, NULL);
*sem = CreateSemaphore(NULL, iv, 16, NULL);
#else
sem_init(sem, 0, iv);
#endif