From: Florian Ragwitz Date: Mon, 30 Mar 2009 08:59:16 +0000 (+0200) Subject: Define SVfARG if the perl we're compiling for doesn't have it. X-Git-Tag: 0.11~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=68fe9f2928a5a423e6d31eaf4b2bf0c17c9bfb27;p=gitmo%2FClass-C3-XS.git Define SVfARG if the perl we're compiling for doesn't have it. --- diff --git a/XS.xs b/XS.xs index 94ba2d8..1ad6614 100644 --- a/XS.xs +++ b/XS.xs @@ -50,6 +50,10 @@ /* *********** end ppport.h stuff */ +#ifndef SVfARG +# define SVfARG(p) ((void*)(p)) +#endif + /* Most of this code is backported from the bleadperl patch's mro.c, and then modified to work with Class::C3's internals.