From: Eric Wong Date: Fri, 1 Dec 2023 02:07:05 +0000 (+0000) Subject: xap_helper: enable stderr assignment on DragonFly X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89dfe65570f82a24c6f37cdc3e88b5df2562ea38;p=thirdparty%2Fpublic-inbox.git xap_helper: enable stderr assignment on DragonFly It looks like DragonFly inherited this from FreeBSD to allow us to save us some syscalls. --- diff --git a/lib/PublicInbox/xap_helper.h b/lib/PublicInbox/xap_helper.h index c1ab66f3b..1f8c426b9 100644 --- a/lib/PublicInbox/xap_helper.h +++ b/lib/PublicInbox/xap_helper.h @@ -64,7 +64,7 @@ # define MY_DO_OPTRESET() do { optind = optreset = 1; } while (0) #endif -#if defined(__FreeBSD__) || defined(__GLIBC__) +#if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__GLIBC__) # define STDERR_ASSIGNABLE (1) #else # define STDERR_ASSIGNABLE (0)