Skip to content

Commit

Permalink
Fix compilation error under macos, close #5336
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed May 30, 2024
1 parent 90feeae commit a1fa206
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/master.cc
Original file line number Diff line number Diff line change
Expand Up @@ -907,6 +907,7 @@ bool Server::signal_handler_read_message() {
return true;
}

#ifdef SIGRTMIN
bool Server::signal_handler_reopen_logger() {
uint32_t i;
Worker *worker;
Expand All @@ -920,6 +921,7 @@ bool Server::signal_handler_reopen_logger() {
sw_logger()->reopen();
return true;
}
#endif

void Server::stop_master_thread() {
Reactor *reactor = SwooleTG.reactor;
Expand Down

0 comments on commit a1fa206

Please sign in to comment.