Skip to content

Commit

Permalink
Fix Windows build (again)
Browse files Browse the repository at this point in the history
I'm about 99% of the way to ditching Windows support altogether. They
have WSL, and supporting all the Windows weirdness is just not something
that sparks joy.
  • Loading branch information
vkoskiv committed Oct 31, 2023
1 parent 3f2fb22 commit ab00bda
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/platform/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ int registerHandler(enum sigtype type, void (*handler)(int)) {
}

void block_signals(void) {
#ifndef WINDOWS
sigset_t mask;
sigfillset(&mask);
sigprocmask(SIG_SETMASK, &mask, 0);
#endif
}

0 comments on commit ab00bda

Please sign in to comment.