XSPROTO backcompat for 5.8.x
Dave Rolsky [Mon, 23 Mar 2009 17:57:08 +0000 (12:57 -0500)]
mop.h

diff --git a/mop.h b/mop.h
index 7566652..288c8ad 100644 (file)
--- a/mop.h
+++ b/mop.h
 
 #define MOP_CALL_BOOT(name)  mop_call_xs(aTHX_ name, cv, mark);
 
+#ifndef XSPROTO
+#define XSPROTO(name) XS(name)
+#endif
+
 void mop_call_xs (pTHX_ XSPROTO(subaddr), CV *cv, SV **mark);
 
 typedef enum {