From 55ac2338fcf5c3f2f3f812fd53063ce58aa38a49 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Tue, 1 Jun 2021 18:21:08 +0200 Subject: portability and standards: add BSD-like err() and errx() functions These are BSD functions. - HaikuOS now compiles without having to use libbsd. - Tested on SerenityOS (for fun), which doesn't have these functions (yet). With a small change to support wcwidth() sfeed works on SerenityOS. --- README | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'README') diff --git a/README b/README index 2fef8b2..2877912 100644 --- a/README +++ b/README @@ -117,7 +117,8 @@ OS tested - FreeBSD - DragonFlyBSD - Windows (cygwin gcc, mingw). -- HaikuOS (using libbsd). +- HaikuOS +- SerenityOS - FreeDOS (djgpp). - FUZIX (sdcc -mz80). -- cgit v1.2.3