From a6d9eef5cacdc110bc3f03d379dff52434048e8e Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 26 Nov 2020 17:06:46 +0100 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ doc/posix-functions/_exit.texi | 6 +++++- modules/raise-tests | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 49d4ed1046..5048856ecb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2020-11-26 Bruno Haible + + 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 setlocale-tests: do not trigger gcc's -Wanalyzer-possible-null-argument diff --git a/doc/posix-functions/_exit.texi b/doc/posix-functions/_exit.texi index 93d7c4f20d..8d96a52776 100644 --- a/doc/posix-functions/_exit.texi +++ b/doc/posix-functions/_exit.texi @@ -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{}) +on some platforms: +mingw, MSVC 14. @end itemize Portability problems not fixed by Gnulib: diff --git a/modules/raise-tests b/modules/raise-tests index 257f9e3389..4804cad38d 100644 --- a/modules/raise-tests +++ b/modules/raise-tests @@ -4,6 +4,7 @@ tests/signature.h tests/macros.h Depends-on: +unistd configure.ac: -- 2.39.5