Skip to content

Commit 314cef0

Browse files
committed
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.
1 parent b5ddfb4 commit 314cef0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

config/c-library.m4

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Macros that test various C library quirks
2-
# $PostgreSQL: pgsql/config/c-library.m4,v 1.27 2004/09/08 19:43:00 momjian Exp $
2+
# $PostgreSQL: pgsql/config/c-library.m4,v 1.28 2004/10/04 18:14:18 momjian Exp $
33

44

55
# PGAC_VAR_INT_TIMEZONE
@@ -216,6 +216,10 @@ AC_SUBST(HAVE_POSIX_SIGNALS)])# PGAC_FUNC_POSIX_SIGNALS
216216
# Determine which format snprintf uses for long long int. We handle
217217
# %lld, %qd, %I64d. The result is in shell variable
218218
# LONG_LONG_INT_FORMAT.
219+
#
220+
# MinGW uses '%I64d', though gcc throws an warning with -Wall,
221+
# while '%lld' doesn't generate a warning, but doesn't work.
222+
#
219223
AC_DEFUN([PGAC_FUNC_SNPRINTF_LONG_LONG_INT_FORMAT],
220224
[AC_MSG_CHECKING([snprintf format for long long int])
221225
AC_CACHE_VAL(pgac_cv_snprintf_long_long_int_format,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy