[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inttypes: Fix PRI*PTR and SCN*PTR on 64-bit native Windows
From: |
Bruno Haible |
Subject: |
Re: inttypes: Fix PRI*PTR and SCN*PTR on 64-bit native Windows |
Date: |
Mon, 24 Aug 2020 00:52:57 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-186-generic; KDE/5.18.0; x86_64; ; ) |
> 2020-07-21 Bruno Haible <bruno@clisp.org>
>
> 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 <bruno@clisp.org>
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"'])
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: inttypes: Fix PRI*PTR and SCN*PTR on 64-bit native Windows,
Bruno Haible <=