]> Savannah Git Hosting - gnulib.git/commitdiff
stdio: Fix compilation error on DragonFly BSD.
authorBruno Haible <bruno@clisp.org>
Sat, 22 May 2021 20:14:28 +0000 (22:14 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 22 May 2021 20:14:28 +0000 (22:14 +0200)
* lib/stdio.in.h (fcloseall): Treat DragonFly BSD like FreeBSD.

ChangeLog
lib/stdio.in.h

index a3fcdb65fef91b18f2344fad5526037a8b472c90..5afb8811b94a230d65d10a184bacab0355222e3d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2021-05-22  Bruno Haible  <bruno@clisp.org>
+
+       stdio: Fix compilation error on DragonFly BSD.
+       * lib/stdio.in.h (fcloseall): Treat DragonFly BSD like FreeBSD.
+
 2021-05-22  Larkin Nickle  <me@larbob.org>  (tiny change)
 
        getprogname: port to Tru64
index bbe7084194028a48006c265c68f6e3a8ee851f58..4dfa3398131520a367606933281fc89fdd8aa049 100644 (file)
@@ -242,7 +242,7 @@ _GL_WARN_ON_USE (fclose, "fclose is not always POSIX compliant - "
 _GL_CXXALIAS_MDA (fcloseall, int, (void));
 # else
 #  if @HAVE_DECL_FCLOSEALL@
-#   if defined __FreeBSD__
+#   if defined __FreeBSD__ || defined __DragonFly__
 _GL_CXXALIAS_SYS (fcloseall, void, (void));
 #   else
 _GL_CXXALIAS_SYS (fcloseall, int, (void));