> In general, this is the sort of thing that we would want to standardise across the entire software stack, rather than doing ad-hoc in a single source file.

Sounds good. In which header would this go though?