fix samaphore for win32

This commit is contained in:
xianjimli 2020-02-10 10:14:31 +08:00
parent 5e4a504ed6
commit b3f086409a

View File

@ -25,6 +25,7 @@
#include <process.h>
struct _tk_semaphore_t {
HANDLE sem;
char name[TK_NAME_LEN + 1];
};
#elif defined(HAS_PTHREAD)
#include <fcntl.h>