From: Steve Peters Date: Fri, 28 Oct 2005 10:48:32 +0000 (+0000) Subject: Add SPRINTF_RETURNS_STRLEN to the various Win32 config_H.* files. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e3e360c63a31e840875376f48127a0736b79eab5;p=p5sagit%2Fp5-mst-13.2.git Add SPRINTF_RETURNS_STRLEN to the various Win32 config_H.* files. p4raw-id: //depot/perl@25863 --- diff --git a/win32/config_H.bc b/win32/config_H.bc index 37bfcb3..b3e08de 100644 --- a/win32/config_H.bc +++ b/win32/config_H.bc @@ -3944,6 +3944,14 @@ */ /*#define HAS_SOCKATMARK_PROTO /**/ +/* SPRINTF_RETURNS_STRLEN: + * This variable defines whether sprintf returns the length of the string + * (as per the ANSI spec). Some C libraries retain compatibility with + * pre-ANSI C and return a pointer to the passed in buffer; for these + * this variable will be undef. + */ +#define SPRINTF_RETURNS_STRLEN /**/ + /* HAS_SETRESGID_PROTO: * This symbol, if defined, indicates that the system provides * a prototype for the setresgid() function. Otherwise, it is up diff --git a/win32/config_H.gc b/win32/config_H.gc index 215ad65..e892257 100644 --- a/win32/config_H.gc +++ b/win32/config_H.gc @@ -3948,6 +3948,14 @@ */ /*#define HAS_SOCKATMARK_PROTO /**/ +/* SPRINTF_RETURNS_STRLEN: + * This variable defines whether sprintf returns the length of the string + * (as per the ANSI spec). Some C libraries retain compatibility with + * pre-ANSI C and return a pointer to the passed in buffer; for these + * this variable will be undef. + */ +#define SPRINTF_RETURNS_STRLEN /**/ + /* HAS_SETRESGID_PROTO: * This symbol, if defined, indicates that the system provides * a prototype for the setresgid() function. Otherwise, it is up diff --git a/win32/config_H.vc b/win32/config_H.vc index e2d31db..ff36eb9 100644 --- a/win32/config_H.vc +++ b/win32/config_H.vc @@ -3944,6 +3944,14 @@ */ /*#define HAS_SOCKATMARK_PROTO /**/ +/* SPRINTF_RETURNS_STRLEN: + * This variable defines whether sprintf returns the length of the string + * (as per the ANSI spec). Some C libraries retain compatibility with + * pre-ANSI C and return a pointer to the passed in buffer; for these + * this variable will be undef. + */ +#define SPRINTF_RETURNS_STRLEN /**/ + /* HAS_SETRESGID_PROTO: * This symbol, if defined, indicates that the system provides * a prototype for the setresgid() function. Otherwise, it is up diff --git a/win32/config_H.vc64 b/win32/config_H.vc64 index a3121f1..956112e 100644 --- a/win32/config_H.vc64 +++ b/win32/config_H.vc64 @@ -3944,6 +3944,14 @@ */ /*#define HAS_SOCKATMARK_PROTO /**/ +/* SPRINTF_RETURNS_STRLEN: + * This variable defines whether sprintf returns the length of the string + * (as per the ANSI spec). Some C libraries retain compatibility with + * pre-ANSI C and return a pointer to the passed in buffer; for these + * this variable will be undef. + */ +#define SPRINTF_RETURNS_STRLEN /**/ + /* HAS_SETRESGID_PROTO: * This symbol, if defined, indicates that the system provides * a prototype for the setresgid() function. Otherwise, it is up