Fix include error

master
Kirigaya Kazuto 2017-12-25 16:02:18 +08:00
parent e32a40a407
commit ba7db6e44a
2 changed files with 4 additions and 1 deletions

View File

@ -22,7 +22,7 @@ static void _do_clean_up_semaphore(int key,int id)
{
if(semctl(id,0,IPC_RMID,0)<0)
{
log("Failed to destroy process semaphore (call semctl failed on key: %d, id: %d)",key,id);
dprintf("Failed to destroy process semaphore (call semctl failed on key: %d, id: %d)",key,id);
}
}

View File

@ -1,3 +1,4 @@
#ifdef _WIN32
#include "SemaphoreWrapper.h"
#include <windows.h>
@ -91,3 +92,5 @@ ProcessSemaphore::~ProcessSemaphore()
delete _p;
}
}
#endif // _WIN32