On some POSIX systems MSG_NOSIGNAL (And possible other constants) isn't given a variable at compile time so it can't be used in a constant. This replaces the consts with templates so it retains the same semantics but can now compile on systems like ARM.
On some POSIX systems
MSG_NOSIGNAL
(And possible other constants) isn't given a variable at compile time so it can't be used in a constant. This replaces the consts with templates so it retains the same semantics but can now compile on systems like ARM.Unblocks this comment here https://github.com/the-benchmarker/web-frameworks/pull/7653#issuecomment-2254612146