summaryrefslogtreecommitdiff
path: root/perlio.h
diff options
context:
space:
mode:
authorMarcus Holland-Moritz <mhx-perl@gmx.net>2003-05-25 23:17:42 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2003-05-25 18:39:04 +0000
commit2c2e45254665c3bcdaa1713781d5222762407bae (patch)
treea158e90e6e7f7dc45e02ec03a2bfb046108afd22 /perlio.h
parent00c4b2c0ce2c4995f5fbe668570cff57bd4d2463 (diff)
downloadperl-2c2e45254665c3bcdaa1713781d5222762407bae.tar.gz
Re: [PATCH: perlio.h] maint snap @ 19613
From: "Marcus Holland-Moritz" <mhx-perl@gmx.net> Message-ID: <003701c322f2$517fb5e0$0c2f1fac@R2D2> p4raw-id: //depot/perl@19620
Diffstat (limited to 'perlio.h')
-rw-r--r--perlio.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/perlio.h b/perlio.h
index 754bb57336..dd1e3d51a0 100644
--- a/perlio.h
+++ b/perlio.h
@@ -195,6 +195,13 @@ extern void PerlIO_clone(pTHX_ PerlInterpreter *proto, CLONE_PARAMS *param);
/* --------------------- Now prototypes for functions --------------- */
START_EXTERN_C
+#ifndef __attribute__format__
+#ifdef CHECK_FORMAT
+#define __attribute__format__(x,y,z) __attribute__((__format__(x,y,z)))
+#else
+#define __attribute__format__(x,y,z)
+#endif
+#endif
#ifndef NEXT30_NO_ATTRIBUTE
#ifndef HASATTRIBUTE /* disable GNU-cc attribute checking? */
#ifdef __attribute__ /* Avoid possible redefinition errors */