From: Bruno Haible Date: Tue, 21 Jul 2020 07:48:09 +0000 (+0200) Subject: printf-posix: Make an autoconf test more future-proof. X-Git-Tag: v1.0~3878 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=e747e8f9f585cfcc58935ae5b98884ad5e367b9d;p=gnulib.git printf-posix: Make an autoconf test more future-proof. * m4/printf.m4 (gl_PRINTF_DIRECTIVE_N): Include before using uintptr_t. --- diff --git a/ChangeLog b/ChangeLog index 290e933f2f..7ebfe9ebdc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2020-07-21 Bruno Haible + + printf-posix: Make an autoconf test more future-proof. + * m4/printf.m4 (gl_PRINTF_DIRECTIVE_N): Include before + using uintptr_t. + 2020-07-20 Bruno Haible list, oset, omap: Relicense some of the container modules under LGPLv2+. diff --git a/m4/printf.m4 b/m4/printf.m4 index df473d8788..fba8501d71 100644 --- a/m4/printf.m4 +++ b/m4/printf.m4 @@ -1,4 +1,4 @@ -# printf.m4 serial 64 +# printf.m4 serial 65 dnl Copyright (C) 2003, 2007-2020 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -680,7 +680,10 @@ AC_DEFUN([gl_PRINTF_DIRECTIVE_N], #include #include #ifdef _MSC_VER -/* See page about "Parameter Validation" on msdn.microsoft.com. */ +#include +/* See page about "Parameter Validation" on msdn.microsoft.com. + + */ static void cdecl invalid_parameter_handler (const wchar_t *expression, const wchar_t *function,