diff options
author | Andy Lester <andy@petdance.com> | 2005-05-01 10:07:55 -0500 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-05-02 15:46:51 +0000 |
commit | b7787f18a4d9a5b6205453133731406d627268af (patch) | |
tree | e3c1f3ea3b6da55ec9b061bcd3d168147cdcac30 /perlio.h | |
parent | 2728842dc82a9f71891d065b28cf34767a63fb0c (diff) | |
download | perl-b7787f18a4d9a5b6205453133731406d627268af.tar.gz |
printf.patch: Adding printf checking for gcc
Message-ID: <20050501200755.GA30259@petdance.com>
p4raw-id: //depot/perl@24365
Diffstat (limited to 'perlio.h')
-rw-r--r-- | perlio.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -210,10 +210,10 @@ PERL_EXPORT_C void PerlIO_clone(pTHX_ PerlInterpreter *proto, 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) +# 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 |