Re: git: 11ace56fa030 - main - contrib/libxo: fix API header files inclusions in C++ source files
- Reply: Warner Losh : "Re: git: 11ace56fa030 - main - contrib/libxo: fix API header files inclusions in C++ source files"
- In reply to: Konstantin Belousov : "Re: git: 11ace56fa030 - main - contrib/libxo: fix API header files inclusions in C++ source files"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
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.