diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-06-16 06:10:19 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-06-16 06:10:19 +0000 |
commit | adf4e37aa9473154c90ec95e0bce0894d66af09f (patch) | |
tree | 14d90118bc4a45b604773aba991bae2128a970bb /gv.h | |
parent | dce40316f42a4668ccea2765cda9168a586b4ffc (diff) | |
download | perl-adf4e37aa9473154c90ec95e0bce0894d66af09f.tar.gz |
More portability nits by Jarkko
p4raw-id: //depot/perl@31396
Diffstat (limited to 'gv.h')
-rw-r--r-- | gv.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -88,7 +88,7 @@ Return the SV from the GV. #endif #define GvREFCNT(gv) (GvGP(gv)->gp_refcnt) -#define GvIO(gv) ((gv) && SvTYPE((SV*)gv) == SVt_PVGV && GvGP(gv) ? GvIOp(gv) : 0) +#define GvIO(gv) ((gv) && SvTYPE((SV*)gv) == SVt_PVGV && GvGP(gv) ? GvIOp(gv) : NULL) #define GvIOp(gv) (GvGP(gv)->gp_io) #define GvIOn(gv) (GvIO(gv) ? GvIOp(gv) : GvIOp(gv_IOadd(gv))) |