summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2006-11-27 17:44:27 +0000
committerSteve Hay <SteveHay@planit.com>2006-11-27 17:44:27 +0000
commit63cdf24b4587df192f2f3f9a9c78a397a2e527db (patch)
treeec3b9c4bebcf297fba160dbe16dd846e651920d5 /perl.h
parent78d580049fe3d15caa480649bb4c35a4ad9011dd (diff)
downloadperl-63cdf24b4587df192f2f3f9a9c78a397a2e527db.tar.gz
Add missing d_printf_format_null/PRINTF_FORMAT_NULL_OK to Win32 canned
configs See: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-11/msg00923.html p4raw-id: //depot/perl@29397
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index e7c0c5abe7..c68ea8279a 100644
--- a/perl.h
+++ b/perl.h
@@ -2643,6 +2643,9 @@ typedef struct clone_params CLONE_PARAMS;
#if defined __GNUC__ && !defined(__INTEL_COMPILER)
# if __GNUC__ >= 3 /* 3.0 -> */ /* XXX Verify this version */
# define HASATTRIBUTE_FORMAT
+# if defined __MINGW32__
+# define PRINTF_FORMAT_NULL_OK
+# endif
# endif
# if __GNUC__ >= 3 /* 3.0 -> */
# define HASATTRIBUTE_MALLOC