projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b1a7e7
)
I reconfirmed MS-VC6. Thank you for wonderful correspondence.
author
Bruce Momjian
Fri, 9 Dec 2005 04:50:40 +0000
(
04:50
+0000)
committer
Bruce Momjian
Fri, 9 Dec 2005 04:50:40 +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
patch
|
blob
|
blame
|
history
diff --git
a/src/include/pg_config.h.win32
b/src/include/pg_config.h.win32
index 97b9aa219cfbb52accf9c621374ee5a6ccb8f4fa..ffa386c99227710111e503cfc015ccb6428a8f49 100644
(file)
--- 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__