Fix include error
parent
e32a40a407
commit
ba7db6e44a
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#ifdef _WIN32
|
||||
|
||||
#include "SemaphoreWrapper.h"
|
||||
#include <windows.h>
|
||||
|
@ -91,3 +92,5 @@ ProcessSemaphore::~ProcessSemaphore()
|
|||
delete _p;
|
||||
}
|
||||
}
|
||||
|
||||
#endif // _WIN32
|
||||
|
|
Loading…
Reference in New Issue