]> Savannah Git Hosting - gnulib.git/commitdiff
raise-tests: Fix compilation error on MSVC (regression 2020-11-25).
authorBruno Haible <bruno@clisp.org>
Thu, 26 Nov 2020 16:06:46 +0000 (17:06 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 26 Nov 2020 16:06:46 +0000 (17:06 +0100)
* modules/raise-tests (Depends-on): Add unistd.
* doc/posix-functions/_exit.texi: Mention the 'unistd' module.

ChangeLog
doc/posix-functions/_exit.texi
modules/raise-tests

index 49d4ed1046c35329e5204eb3c1db7fe3d03350f0..5048856ecbc3dc0f466ade36c52fc7dd297cf001 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2020-11-26  Bruno Haible  <bruno@clisp.org>
+
+       raise-tests: Fix compilation error on MSVC (regression 2020-11-25).
+       * modules/raise-tests (Depends-on): Add unistd.
+       * doc/posix-functions/_exit.texi: Mention the 'unistd' module.
+
 2020-11-25  Jim Meyering  <meyering@fb.com>
 
        setlocale-tests: do not trigger gcc's -Wanalyzer-possible-null-argument
index 93d7c4f20d30d707139d3b6d48ed23d2dd3deecd..8d96a52776842f52afd930ae409e071d6848f31a 100644 (file)
@@ -4,10 +4,14 @@
 
 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/_exit.html}
 
-Gnulib module: ---
+Gnulib module: unistd
 
 Portability problems fixed by Gnulib:
 @itemize
+@item
+This function is declared in a different header file (namely, @code{<stdlib.h>})
+on some platforms:
+mingw, MSVC 14.
 @end itemize
 
 Portability problems not fixed by Gnulib:
index 257f9e338925c9518a03f217150b922cc54abdcc..4804cad38d0d783e4f3f9d9cb8e69fb1606cf823 100644 (file)
@@ -4,6 +4,7 @@ tests/signature.h
 tests/macros.h
 
 Depends-on:
+unistd
 
 configure.ac: