summaryrefslogtreecommitdiff
path: root/win32/config_H.bc
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2005-10-28 10:48:32 +0000
committerSteve Peters <steve@fisharerojo.org>2005-10-28 10:48:32 +0000
commite3e360c63a31e840875376f48127a0736b79eab5 (patch)
tree926d3139bf801da5617346de8a94436d689f6375 /win32/config_H.bc
parent4150c1890ffe73fc298ab9944c3d80e0d6511038 (diff)
downloadperl-e3e360c63a31e840875376f48127a0736b79eab5.tar.gz
Add SPRINTF_RETURNS_STRLEN to the various Win32 config_H.* files.
p4raw-id: //depot/perl@25863
Diffstat (limited to 'win32/config_H.bc')
-rw-r--r--win32/config_H.bc8
1 files changed, 8 insertions, 0 deletions
diff --git a/win32/config_H.bc b/win32/config_H.bc
index 37bfcb3e90..b3e08de625 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