Skip to content

Commit

Permalink
Fix MacOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
topilski committed Dec 27, 2014
1 parent 9e88d55 commit e4b9b23
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/common/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ namespace common
{
bool result = ::signal(sig, handler)!= SIG_ERR;
if(!result){
DEBUG_MSG_PERROR("signal");
DEBUG_MSG_PERROR("signal", errno);
}
return result;
}
Expand All @@ -207,7 +207,7 @@ namespace common
{
bool result = ::sigaddset(&signal_m,sig)!= ERROR_RESULT_VALUE;
if(!result){
DEBUG_MSG_PERROR("sigaddset");
DEBUG_MSG_PERROR("sigaddset", errno);
}
return result;
}
Expand All @@ -216,7 +216,7 @@ namespace common
{
bool result = ::sigprocmask(how,set,oset)!= ERROR_RESULT_VALUE;
if(!result){
DEBUG_MSG_PERROR("sigprocmask");
DEBUG_MSG_PERROR("sigprocmask", errno);
}
return result;
}
Expand All @@ -225,7 +225,7 @@ namespace common
{
bool result = ::sigemptyset(&signal_m)!= ERROR_RESULT_VALUE;
if(!result){
DEBUG_MSG_PERROR("sigemptyset");
DEBUG_MSG_PERROR("sigemptyset", errno);
}
return result;
}
Expand Down

0 comments on commit e4b9b23

Please sign in to comment.