summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2004-10-04 18:14:18 +0000
committerBruce Momjian2004-10-04 18:14:18 +0000
commit305db835e24a1d6fe9497a42b5ad15736b7ddd3a (patch)
tree001fc6cb8f2f2b7faa0b1096de9a162e81fba786
parent0b5e7740929f4fa0087312466440afbd2ab0811e (diff)
Update comment on int64 printf speciifications for MinGW:
# MinGW uses '%I64d', though gcc throws an warning with -Wall, # while '%lld' doesn't generate a warning, but doesn't work.
-rw-r--r--config/c-library.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/config/c-library.m4 b/config/c-library.m4
index 1fa11402e1..50dc16ab31 100644
--- a/config/c-library.m4
+++ b/config/c-library.m4
@@ -216,6 +216,10 @@ AC_SUBST(HAVE_POSIX_SIGNALS)])# PGAC_FUNC_POSIX_SIGNALS
# Determine which format snprintf uses for long long int. We handle
# %lld, %qd, %I64d. The result is in shell variable
# LONG_LONG_INT_FORMAT.
+#
+# MinGW uses '%I64d', though gcc throws an warning with -Wall,
+# while '%lld' doesn't generate a warning, but doesn't work.
+#
AC_DEFUN([PGAC_FUNC_SNPRINTF_LONG_LONG_INT_FORMAT],
[AC_MSG_CHECKING([snprintf format for long long int])
AC_CACHE_VAL(pgac_cv_snprintf_long_long_int_format,