summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2006-11-15 21:36:30 +0000
committerH.Merijn Brand <h.m.brand@xs4all.nl>2006-11-15 21:36:30 +0000
commitdcb594bcd7c2ac9f0d01eff34aab9c6bb8e972c1 (patch)
tree1ebb88b961635443c29ec80d7fc34d5c63a70f01 /config_h.SH
parent4e036e4bbba6d063b01c50038bdc634716ef4439 (diff)
downloadperl-dcb594bcd7c2ac9f0d01eff34aab9c6bb8e972c1.tar.gz
1. Less Whoa there, based on a suggestion by Andy Dougherty
2. d_printf_format_null, based on a patch by Robin Barker p4raw-id: //depot/perl@29288
Diffstat (limited to 'config_h.SH')
-rw-r--r--config_h.SH4
1 files changed, 4 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH
index abcea7ea0a..0bcdd3ad52 100644
--- a/config_h.SH
+++ b/config_h.SH
@@ -1156,6 +1156,9 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
/* HASATTRIBUTE_FORMAT:
* Can we handle GCC attribute for checking printf-style formats
*/
+/* PRINTF_FORMAT_NULL_OK:
+ * Allows __printf__ format to be null when checking printf-style
+ */
/* HASATTRIBUTE_MALLOC:
* Can we handle GCC attribute for malloc-style functions.
*/
@@ -1175,6 +1178,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
* Can we handle GCC attribute for warning on unused results
*/
#$d_attribute_format HASATTRIBUTE_FORMAT /**/
+#$d_printf_format_null PRINTF_FORMAT_NULL_OK /**/
#$d_attribute_noreturn HASATTRIBUTE_NORETURN /**/
#$d_attribute_malloc HASATTRIBUTE_MALLOC /**/
#$d_attribute_nonnull HASATTRIBUTE_NONNULL /**/