winpr: fix semaphore_t definition

This commit is contained in:
Dorian Johnson 2012-06-19 12:31:35 -05:00
parent c27d7954f6
commit 6c3af717c5
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
#include <mach/mach.h>
#include <mach/semaphore.h>
#include <mach/task.h>
#define winpr_sem_t semaphore_td
#define winpr_sem_t semaphore_t
#else
#include <pthread.h>
#include <semaphore.h>

View File

@ -27,7 +27,7 @@
#include <mach/mach.h>
#include <mach/semaphore.h>
#include <mach/task.h>
#define winpr_sem_t semaphore_td
#define winpr_sem_t semaphore_t
#else
#include <pthread.h>
#include <semaphore.h>