macOS tests didn't work because they relied on SIGUSR1/SIGUSR2, which has a different value on Linux. For now, removed these and using SIGHUP for the test instead given that its the same across most (all?) modern POSIX systems.
Windows support has been added by ensuring signal-hook is not compiled when running on that OS. This effectively turns the posix-signals-support feature into a noop on Windows, by introducing a shim crate that reexports signal-hook iff running on UNIX.
macOS tests didn't work because they relied on SIGUSR1/SIGUSR2, which has a different value on Linux. For now, removed these and using SIGHUP for the test instead given that its the same across most (all?) modern POSIX systems.
Windows support has been added by ensuring signal-hook is not compiled when running on that OS. This effectively turns the posix-signals-support feature into a noop on Windows, by introducing a shim crate that reexports signal-hook iff running on UNIX.