In order to fix , we need to back port at least ENOTSUP to 2.7 (presuming we don’t want to check for magic numbers). The question is, whether we should back port all/most of them when we’re at it? There doesn’t seem to be much harm to it.
Benjamin should talk about this, but I am +1 to backport the missing DEFINEs. In fact, hardwired values are actually a bug, as reported in the linked issue.
> So what does that mean for ? Backport only ENOTSUP, check > against “45” or “won't fix”? Then, backporting only ENOTSUP would be a reasonable solution. Or perhaps backport it as a private attribute (_ENOTSUP).