aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-12-09 04:50:50 +0000
committerBruce Momjian <bruce@momjian.us>2005-12-09 04:50:50 +0000
commit832bcfef55e160998fd1b46e3bf6cbbdeb23df15 (patch)
treea3a7b1b5783c50f2a83d132796ac6e651f510bf3
parentdf564470771e49a9574984e2beda2efc71f37118 (diff)
downloadpostgresql-832bcfef55e160998fd1b46e3bf6cbbdeb23df15.tar.gz
postgresql-832bcfef55e160998fd1b46e3bf6cbbdeb23df15.zip
I reconfirmed MS-VC6. Thank you for wonderful correspondence.
However, Another problem newly occurred. This solves the problem of snprintf and vsnprintf. Patch to HEAD and 8.1.X. Hiroshi Saito
-rw-r--r--src/include/pg_config.h.win326
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/pg_config.h.win32 b/src/include/pg_config.h.win32
index 7779af733bb..de586667401 100644
--- a/src/include/pg_config.h.win32
+++ b/src/include/pg_config.h.win32
@@ -23,6 +23,12 @@
#define HAVE_RANDOM
#endif
+/* use _snprintf and _vsnprintf */
+#define HAVE_DECL_SNPRINTF 1
+#define snprintf _snprintf
+#define HAVE_DECL_VSNPRINTF 1
+#define vsnprintf _vsnprintf
+
/* defines for dynamic linking on Win32 platform */
#ifdef __CYGWIN__