From: Jesse Luehrs Date: Mon, 26 Sep 2011 20:23:04 +0000 (-0500) Subject: CvISXSUB was introduced in 5.10 X-Git-Tag: 2.0301~23 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a4e46ae7ebed7d5fc3d39c06f5ac7e401f9a5f0a;p=gitmo%2FMoose.git CvISXSUB was introduced in 5.10 --- diff --git a/Changes b/Changes index e11f4ab..8fd6a04 100644 --- a/Changes +++ b/Changes @@ -3,6 +3,10 @@ for, noteworthy changes. {{$NEXT}} + [BUG FIXES] + + * Fix compilation on 5.8. Reported by ether. (doy) + 2.0300 Fri, Sep 23, 2011 [DEPRECATIONS] diff --git a/mop.h b/mop.h index 6dcd91d..4b02796 100644 --- a/mop.h +++ b/mop.h @@ -24,6 +24,10 @@ #define XSPROTO(name) XS_EXTERNAL(name) #endif +#ifndef CvISXSUB +#define CvISXSUB(cv) (CvXSUB(cv) ? TRUE : FALSE) +#endif + void mop_call_xs (pTHX_ XSPROTO(subaddr), CV *cv, SV **mark); typedef enum {