Skip to content

Commit cd8f3ec

Browse files
committed
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
1 parent 7b1a7e7 commit cd8f3ec

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/include/pg_config.h.win32

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
#define HAVE_RANDOM
2424
#endif
2525

26+
/* use _snprintf and _vsnprintf */
27+
#define HAVE_DECL_SNPRINTF 1
28+
#define snprintf _snprintf
29+
#define HAVE_DECL_VSNPRINTF 1
30+
#define vsnprintf _vsnprintf
31+
2632
/* defines for dynamic linking on Win32 platform */
2733
#ifdef __CYGWIN__
2834

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