Re: git: 11ace56fa030 - main - contrib/libxo: fix API header files inclusions in C++ source files

From: Phil Shafer <phil_at_juniper.net>
Date: Wed, 10 Sep 2025 19:49:09 UTC
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 to
>
> contrib/, but libxo is FreeBSD-specific enough already.