HomeFreeBSD

stand: Allow stand.h to be included in C++ programs

Description

stand: Allow stand.h to be included in C++ programs

Allow stand.h to be included in C++ programs. This is little more than
using our stylized BEGIN_DECL / END_DECL around the entire
file. There's no run-time support for C++, so the C++ that can be used
is quite limited. It is enough for libunwind, though.

Sponsored by: Netflix
Reviewed by: jrtc27, kevans
Differential Revision: https://reviews.freebsd.org/D37946

(cherry picked from commit 5cf20707ba79b5c06b26381da0013c65004b53be)

Details

Provenance
impAuthored on Jan 7 2023, 1:39 AM
Reviewer
jrtc27
Differential Revision
D37946: stand: Allow stand.h to be included in C++ programs
Parents
rG28dc27649b0e: stand: Add inttype.h
Branches
Unknown
Tags
Unknown