From 89dfe65570f82a24c6f37cdc3e88b5df2562ea38 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 1 Dec 2023 02:07:05 +0000 Subject: xap_helper: enable stderr assignment on DragonFly It looks like DragonFly inherited this from FreeBSD to allow us to save us some syscalls. --- lib/PublicInbox/xap_helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PublicInbox/xap_helper.h b/lib/PublicInbox/xap_helper.h index c1ab66f3..1f8c426b 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) -- cgit v1.2.3-24-ge0c7