X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=perlio.h;h=ea7124a76e301a2f7a04536272b9a1d55598d88b;hb=677c8c512628b78c17ac01a6729dda772bef5b0c;hp=302228299fcc952a6cab28876fb1bd4912e879d8;hpb=0dbb1585a715e56312e579a5f0e7f82241b38352;p=p5sagit%2Fp5-mst-13.2.git diff --git a/perlio.h b/perlio.h index 3022282..ea7124a 100644 --- a/perlio.h +++ b/perlio.h @@ -1,7 +1,7 @@ /* perlio.h * * Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, - * by Larry Wall and others + * 2004, 2005, 2006, 2007, by Larry Wall and others * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. @@ -174,8 +174,6 @@ PERL_EXPORT_C void PerlIO_clone(pTHX_ PerlInterpreter *proto, #endif /* ifndef PERLIO_NOT_STDIO */ #endif /* PERLIO_IS_STDIO */ -#define specialCopIO(sv) ((sv) == Nullsv) - /* ----------- fill in things that have not got #define'd ---------- */ #ifndef Fpos_t @@ -210,7 +208,11 @@ PERL_EXPORT_C void PerlIO_clone(pTHX_ PerlInterpreter *proto, START_EXTERN_C #ifndef __attribute__format__ -# define __attribute__format__(x,y,z) __attribute__((format(x,y,z))) +# ifdef HASATTRIBUTE_FORMAT +# define __attribute__format__(x,y,z) __attribute__((format(x,y,z))) +# else +# define __attribute__format__(x,y,z) +# endif #endif #ifndef PerlIO_init PERL_EXPORT_C void PerlIO_init(pTHX);