Define SVfARG if the perl we're compiling for doesn't have it.
Florian Ragwitz [Mon, 30 Mar 2009 08:59:16 +0000 (10:59 +0200)]
XS.xs

diff --git a/XS.xs b/XS.xs
index 94ba2d8..1ad6614 100644 (file)
--- a/XS.xs
+++ b/XS.xs
 
 /* *********** 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.