From: gfx Date: Tue, 18 Aug 2009 04:47:55 +0000 (+0900) Subject: ppport.h tweaks: share the function entity in all object files X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=90e2d066588fb4a55da0dcc23af0a05c847bc343;p=gitmo%2FClass-MOP.git ppport.h tweaks: share the function entity in all object files --- diff --git a/mop.c b/mop.c index 73732b5..c2b5066 100644 --- a/mop.c +++ b/mop.c @@ -1,3 +1,7 @@ +#define NEED_newRV_noinc_GLOBAL +#define NEED_sv_2pv_flags_GLOBAL +#define NEED_sv_2pv_nolen_GLOBAL +#define NEED_newSVpvn_flags_GLOBAL #include "mop.h" void diff --git a/mop.h b/mop.h index 594b4fe..4de63e5 100644 --- a/mop.h +++ b/mop.h @@ -6,9 +6,6 @@ #include "perl.h" #include "XSUB.h" -#define NEED_newRV_noinc -#define NEED_sv_2pv_flags -#define NEED_sv_2pv_nolen #include "ppport.h" #define MOP_CALL_BOOT(name) mop_call_xs(aTHX_ name, cv, mark);