From: Steve Peters Date: Wed, 4 Jan 2006 02:47:39 +0000 (+0000) Subject: Add snprintf() and vsnprintf() to the various Win32 configuration X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4ae8a42e2d893d542fe5ac274d3d7a2fb77e0f25;p=p5sagit%2Fp5-mst-13.2.git Add snprintf() and vsnprintf() to the various Win32 configuration files. p4raw-id: //depot/perl@26630 --- diff --git a/win32/config.bc b/win32/config.bc index 49e36f6..2c080df 100644 --- a/win32/config.bc +++ b/win32/config.bc @@ -412,6 +412,7 @@ d_socket='define' d_socklen_t='undef' d_sockpair='undef' d_socks5_init='undef' +d_snprintf='define' d_sprintf_returns_strlen='define' d_sqrtl='undef' d_srand48_r='undef' @@ -487,6 +488,7 @@ d_voidsig='define' d_voidtty='' d_volatile='define' d_vprintf='define' +d_vsnprintf='define' d_wait4='undef' d_waitpid='define' d_wcstombs='define' diff --git a/win32/config.gc b/win32/config.gc index 03d3d88..bbc60a5 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -412,6 +412,7 @@ d_socket='define' d_socklen_t='undef' d_sockpair='undef' d_socks5_init='undef' +d_snprintf='define' d_sprintf_returns_strlen='define' d_sqrtl='undef' d_srand48_r='undef' @@ -487,6 +488,7 @@ d_voidsig='define' d_voidtty='' d_volatile='define' d_vprintf='define' +d_vsnprintf='define' d_wait4='undef' d_waitpid='define' d_wcstombs='define' diff --git a/win32/config.vc b/win32/config.vc index cdc3bb0..4a751e1 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -412,6 +412,7 @@ d_socket='define' d_socklen_t='undef' d_sockpair='undef' d_socks5_init='undef' +d_snprintf='define' d_sprintf_returns_strlen='define' d_sqrtl='undef' d_srand48_r='undef' @@ -487,6 +488,7 @@ d_voidsig='define' d_voidtty='' d_volatile='define' d_vprintf='define' +d_vsnprintf='define' d_wait4='undef' d_waitpid='define' d_wcstombs='define' diff --git a/win32/config.vc64 b/win32/config.vc64 index d473a60..5242f24 100644 --- a/win32/config.vc64 +++ b/win32/config.vc64 @@ -412,6 +412,7 @@ d_socket='define' d_socklen_t='undef' d_sockpair='undef' d_socks5_init='undef' +d_snprintf='define' d_sprintf_returns_strlen='define' d_sqrtl='undef' d_srand48_r='undef' @@ -487,6 +488,7 @@ d_voidsig='define' d_voidtty='' d_volatile='define' d_vprintf='define' +d_vsnprintf='define' d_wait4='undef' d_waitpid='define' d_wcstombs='define' diff --git a/win32/config_H.bc b/win32/config_H.bc index 7cf8841..f4779bf 100644 --- a/win32/config_H.bc +++ b/win32/config_H.bc @@ -2664,6 +2664,12 @@ #define HAS_VPRINTF /**/ /*#define USE_CHAR_VSPRINTF /**/ +/* HAS_VSNPRINTF: + * This symbol, if defined, indicates that the vsnprintf routine is + * available for use. + */ +#define HAS_VSNPRINTF /**/ + /* HAS_WRITEV: * This symbol, if defined, indicates that the writev routine is * available to do scatter writes. @@ -3936,6 +3942,12 @@ */ /*#define HAS_SIGPROCMASK /**/ +/* HAS_SNPRINTF: + * This symbol, if defined, indicates that the snprintf() library + * function is available for use. + */ +#define HAS_SNPRINTF /**/ + /* HAS_SOCKATMARK: * This symbol, if defined, indicates that the sockatmark routine is * available to test whether a socket is at the out-of-band mark. diff --git a/win32/config_H.gc b/win32/config_H.gc index 2d8eb13..e8f7230 100644 --- a/win32/config_H.gc +++ b/win32/config_H.gc @@ -2664,6 +2664,12 @@ #define HAS_VPRINTF /**/ /*#define USE_CHAR_VSPRINTF /**/ +/* HAS_VSNPRINTF: + * This symbol, if defined, indicates that the vsnprintf routine is + * available for use. + */ +#define HAS_VSNPRINTF /**/ + /* HAS_WRITEV: * This symbol, if defined, indicates that the writev routine is * available to do scatter writes. @@ -3940,6 +3946,12 @@ */ /*#define HAS_SIGPROCMASK /**/ +/* HAS_SNPRINTF: + * This symbol, if defined, indicates that the snprintf() library + * function is available for use. + */ +#define HAS_SNPRINTF /**/ + /* HAS_SOCKATMARK: * This symbol, if defined, indicates that the sockatmark routine is * available to test whether a socket is at the out-of-band mark. diff --git a/win32/config_H.vc b/win32/config_H.vc index 070f2bc..434522e 100644 --- a/win32/config_H.vc +++ b/win32/config_H.vc @@ -2664,6 +2664,12 @@ #define HAS_VPRINTF /**/ /*#define USE_CHAR_VSPRINTF /**/ +/* HAS_VSNPRINTF: + * This symbol, if defined, indicates that the vsnprintf routine is + * available for use. + */ +#define HAS_VSNPRINTF /**/ + /* HAS_WRITEV: * This symbol, if defined, indicates that the writev routine is * available to do scatter writes. @@ -3936,6 +3942,12 @@ */ /*#define HAS_SIGPROCMASK /**/ +/* HAS_SNPRINTF: + * This symbol, if defined, indicates that the snprintf() library + * function is available for use. + */ +#define HAS_SNPRINTF /**/ + /* HAS_SOCKATMARK: * This symbol, if defined, indicates that the sockatmark routine is * available to test whether a socket is at the out-of-band mark. diff --git a/win32/config_H.vc64 b/win32/config_H.vc64 index 66b3b4e..3c6ac54 100644 --- a/win32/config_H.vc64 +++ b/win32/config_H.vc64 @@ -2664,6 +2664,12 @@ #define HAS_VPRINTF /**/ /*#define USE_CHAR_VSPRINTF /**/ +/* HAS_VSNPRINTF: + * This symbol, if defined, indicates that the vsnprintf routine is + * available for use. + */ +#define HAS_VSNPRINTF /**/ + /* HAS_WRITEV: * This symbol, if defined, indicates that the writev routine is * available to do scatter writes. @@ -3936,6 +3942,12 @@ */ /*#define HAS_SIGPROCMASK /**/ +/* HAS_SNPRINTF: + * This symbol, if defined, indicates that the snprintf() library + * function is available for use. + */ +#define HAS_SNPRINTF /**/ + /* HAS_SOCKATMARK: * This symbol, if defined, indicates that the sockatmark routine is * available to test whether a socket is at the out-of-band mark.