diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-10-04 18:14:18 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-10-04 18:14:18 +0000 |
commit | 314cef0f12f0577c0d1eb53cf90d95a0671088e7 (patch) | |
tree | c56717d14f8faef463ea95506a5ec5c830415058 | |
parent | b5ddfb4bd00c844aba36879829f6b329c9452888 (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.m4 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/c-library.m4 b/config/c-library.m4 index 96e7e18b158..5779cfbc4f5 100644 --- a/config/c-library.m4 +++ b/config/c-library.m4 @@ -1,5 +1,5 @@ # Macros that test various C library quirks -# $PostgreSQL: pgsql/config/c-library.m4,v 1.27 2004/09/08 19:43:00 momjian Exp $ +# $PostgreSQL: pgsql/config/c-library.m4,v 1.28 2004/10/04 18:14:18 momjian Exp $ # PGAC_VAR_INT_TIMEZONE @@ -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, |