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=739d9a8d67fa0503dc023685cde7c049c34d3c5c;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 4299335..cdf693a 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 cbab146..5b5a0a1 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);