Date: Fri, 26 Jun 2026 14:41:12 +0000 From: Dag-Erling=?utf-8?Q? Sm=C3=B8rg?=rav <des@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 3377fbc14bb3 - stable/14 - iconv: Update availability of bool Message-ID: <6a3e8f88.1f508.69ad7558@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/14 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=3377fbc14bb3e9dea44845fa788a20578d07146e commit 3377fbc14bb3e9dea44845fa788a20578d07146e Author: Dag-Erling Smørgrav <des@FreeBSD.org> AuthorDate: 2026-06-22 13:23:23 +0000 Commit: Dag-Erling Smørgrav <des@FreeBSD.org> CommitDate: 2026-06-26 14:41:05 +0000 iconv: Update availability of bool While here, drop duplicate include. MFC after: 1 week Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D57733 (cherry picked from commit 8f750231d4b58ac71cbd3ac3548e1d7eb849f04b) --- include/iconv.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/iconv.h b/include/iconv.h index 05e7427a4bf0..e4f6173f9984 100644 --- a/include/iconv.h +++ b/include/iconv.h @@ -38,10 +38,7 @@ #include <wchar.h> -#include <sys/cdefs.h> -#include <sys/types.h> - -#ifdef __cplusplus +#if __STDC_VERSION__ >= 202311L || defined(__cplusplus) typedef bool __iconv_bool; #elif __STDC_VERSION__ >= 199901L typedef _Bool __iconv_bool;home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a3e8f88.1f508.69ad7558>
