Re: git: 11ace56fa030 - main - contrib/libxo: fix API header files inclusions in C++ source files
Date: Wed, 10 Sep 2025 21:23:18 UTC
On Wed, Sep 10, 2025 at 1:49 PM Phil Shafer <phil@juniper.net> wrote: > 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). > I believe that it came from 4.4BSD and spread from there. Warner > 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. >