about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-12-01 02:07:05 +0000
committerEric Wong <e@80x24.org>2023-12-01 21:12:14 +0000
commit89dfe65570f82a24c6f37cdc3e88b5df2562ea38 (patch)
tree163dda47c50fdd388c456fac018aac3dc645d053
parent5de5b7773970f92f140e6de7da1987bab4cfac04 (diff)
downloadpublic-inbox-89dfe65570f82a24c6f37cdc3e88b5df2562ea38.tar.gz
It looks like DragonFly inherited this from FreeBSD to
allow us to save us some syscalls.
-rw-r--r--lib/PublicInbox/xap_helper.h2
1 files changed, 1 insertions, 1 deletions
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)