Fixed Windows typo.
This commit is contained in:
parent
e672959f96
commit
a891b5ba41
2 changed files with 2 additions and 3 deletions
|
@ -208,7 +208,7 @@ namespace IPC {
|
|||
///\brief Unlinks the previously opened semaphore
|
||||
void semaphore::unlink() {
|
||||
close();
|
||||
#if defined(__CYGWIN__) || defined(_WIN32)
|
||||
#if !defined(__CYGWIN__) && !defined(_WIN32)
|
||||
if (myName.size()) {
|
||||
sem_unlink(myName.c_str());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue