summaryrefslogtreecommitdiff
path: root/src/include/pg_config.h.win32
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-08-21 09:56:44 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-08-21 09:56:44 +0300
commitce486056ecd28050f367894a2b5aad3656d37511 (patch)
tree338a69224ad29e0532658f4a5580211338778f83 /src/include/pg_config.h.win32
parentfa069822f5a02bbbe46bada0b6e420a89c5f7484 (diff)
downloadpostgresql-ce486056ecd28050f367894a2b5aad3656d37511.tar.gz
Add #define INT64_MODIFIER for the printf length modifier for 64-bit ints.
We have had INT64_FORMAT and UINT64_FORMAT for a long time, but that's not good enough if you want something more exotic, like "%20lld". Abhijit Menon-Sen, per Andres Freund's suggestion.
Diffstat (limited to 'src/include/pg_config.h.win32')
-rw-r--r--src/include/pg_config.h.win328
1 files changed, 2 insertions, 6 deletions
diff --git a/src/include/pg_config.h.win32 b/src/include/pg_config.h.win32
index 00be15f230..bce67a2b49 100644
--- a/src/include/pg_config.h.win32
+++ b/src/include/pg_config.h.win32
@@ -532,8 +532,8 @@
/* Define to 1 if your compiler understands __VA_ARGS__ in macros. */
#define HAVE__VA_ARGS 1
-/* Define to the appropriate snprintf format for 64-bit ints, if any. */
-#define INT64_FORMAT "%lld"
+/* Define to the appropriate snprintf length modifier for 64-bit ints. */
+#define INT64_MODIFIER "ll"
/* Define to 1 if `locale_t' requires <xlocale.h>. */
/* #undef LOCALE_T_IN_XLOCALE */
@@ -604,10 +604,6 @@
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
/* #undef TM_IN_SYS_TIME */
-/* Define to the appropriate snprintf format for unsigned 64-bit ints, if any.
- */
-#define UINT64_FORMAT "%llu"
-
/* Define to 1 to build with assertion checks. (--enable-cassert) */
/* #undef USE_ASSERT_CHECKING */