Date: Wed, 10 Sep 2025 15:49:09 -0400 From: Phil Shafer <phil@juniper.net> To: Konstantin Belousov <kostikbel@gmail.com> Cc: Ka Ho Ng <khng@freebsd.org>, <src-committers@freebsd.org>, <dev-commits-src-all@freebsd.org>, <dev-commits-src-main@freebsd.org> Subject: Re: git: 11ace56fa030 - main - contrib/libxo: fix API header files inclusions in C++ source files Message-ID: <CCBD49BA-56A2-4E6F-A33E-2A2D7A945335@juniper.net> In-Reply-To: <aMD_IRCC1wA7DpMI@kib.kiev.ua> References: <202509071842.587IgHbm001636@gitrepo.freebsd.org> <aMD_IRCC1wA7DpMI@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
It's not freebsd-specific, but __BEGIN_DECLS isn't freebsd only. If it's= reasonably portable, it makes sense to use it. I see it in macOS, glibc= , and linux (at least some of dists). Thanks, Phil On 10 Sep 2025, at 0:31, Konstantin Belousov wrote: > Would it be better to use __BEGIN_DECLS? I am not completely sure due t= o > > contrib/, but libxo is FreeBSD-specific enough already.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CCBD49BA-56A2-4E6F-A33E-2A2D7A945335>