]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
I reconfirmed MS-VC6. Thank you for wonderful correspondence.
authorBruce Momjian <bruce@momjian.us>
Fri, 9 Dec 2005 04:50:50 +0000 (04:50 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 9 Dec 2005 04:50:50 +0000 (04:50 +0000)
However, Another problem newly occurred.
This solves the problem of snprintf and vsnprintf.

Patch to HEAD and 8.1.X.

Hiroshi Saito

src/include/pg_config.h.win32

index 7779af733bbdcbeaad84744686c0151681c97f6e..de586667401552eebd0603ca8e09d8a477f3515a 100644 (file)
 #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__