> 2020-07-21 Bruno Haible <[email protected]> > > inttypes: Fix PRI*PTR and SCN*PTR on 64-bit native Windows. > * m4/inttypes.m4 (gl_INTTYPES_PRI_SCN): On 64-bit native Windows, make > sure PRIPTR_PREFIX is defined to "ll", not "l".
Oops, there was a typo in this patch, leading to PRIdPTR = "lld" instead of "ld" on 32-bit native Windows. 2020-08-23 Bruno Haible <[email protected]> inttypes: Fix {PRI,SCN}*PTR on 32-bit native Windows (regr. 2020-07-21). * m4/inttypes.m4 (gl_INTTYPES_PRI_SCN): Fix syntax error in test program. diff --git a/m4/inttypes.m4 b/m4/inttypes.m4 index 28bac81..84b1654 100644 --- a/m4/inttypes.m4 +++ b/m4/inttypes.m4 @@ -1,4 +1,4 @@ -# inttypes.m4 serial 31 +# inttypes.m4 serial 32 dnl Copyright (C) 2006-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, @@ -44,7 +44,7 @@ AC_DEFUN([gl_INTTYPES_PRI_SCN], #ifdef _WIN64 LLP64 #endif - ]]), + ]]) ], [PRIPTR_PREFIX='"l"'], [PRIPTR_PREFIX='"ll"'])
