Add SPRINTF_RETURNS_STRLEN to the various Win32 config_H.* files.
authorSteve Peters <steve@fisharerojo.org>
Fri, 28 Oct 2005 10:48:32 +0000 (10:48 +0000)
committerSteve Peters <steve@fisharerojo.org>
Fri, 28 Oct 2005 10:48:32 +0000 (10:48 +0000)
p4raw-id: //depot/perl@25863

win32/config_H.bc
win32/config_H.gc
win32/config_H.vc
win32/config_H.vc64

index 37bfcb3..b3e08de 100644 (file)
  */
 /*#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
index 215ad65..e892257 100644 (file)
  */
 /*#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
index e2d31db..ff36eb9 100644 (file)
  */
 /*#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
index a3121f1..956112e 100644 (file)
  */
 /*#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