bd72ba3a4b
Since the value of number_of_signals is known at compile time, we can use a compile-time check instead. This also adds SIGLOST for the Hurd, uses the correct signal counts for the Hurd and FreeBSD, and only gives a compile-time warning when compiled on an unknown platform that it does not know whether the number of signals is correct.