Skip to content

Commit

Permalink
[XrdCl] Fix OSX build.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Jan 17, 2018
1 parent 00bb35b commit b63a244
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/XrdCl/XrdClLocalFileHandler.cc
Expand Up @@ -67,7 +67,7 @@ namespace
static SignalHandlerRegistrator registrator; // registers the signal handler

ptr->aio_sigevent.sigev_notify = SIGEV_SIGNAL;
ptr->aio_sigevent.sigev_signo = SIGRTMIN + 1;
ptr->aio_sigevent.sigev_signo = SIGUSR1;
}
else
{
Expand Down Expand Up @@ -132,7 +132,7 @@ namespace
newact.sa_sigaction = SignalHandler;
sigemptyset( &newact.sa_mask );
newact.sa_flags = SA_SIGINFO;
int rc = sigaction( SIGRTMIN + 1, &newact, &oldact );
int rc = sigaction( SIGUSR1, &newact, &oldact );
if( rc < 0 )
throw std::runtime_error( strerror( errno ) );
}
Expand Down

0 comments on commit b63a244

Please sign in to comment.