HomeFreeBSD

sockets: define shutdown(2) constants in cpp namespace

Description

sockets: define shutdown(2) constants in cpp namespace

There is software that uses SHUT_RD, SHUT_WR as preprocessor defines and
its build was broken by enum declaration. Keep the enum, but provide
defines to propagate the constants to cpp namespace.

PR: 277994
PR: 277995
Fixes: c3276e02beab825824e3147b31af33af66298430

Details

Provenance
glebiusAuthored on Mar 27 2024, 7:19 PM
Parents
rGc92400a6f690: dma.conf: Fix typo
Branches
Unknown
Tags
Unknown