From: Ash Berlin Date: Fri, 10 Jul 2009 20:37:15 +0000 (+0100) Subject: Brackets needed on OSX/5.8.8 X-Git-Tag: 0.005007~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=df718437583e274f604f9064a28ff6607d90a4fa;p=p5sagit%2FDevel-Declare.git Brackets needed on OSX/5.8.8 --- diff --git a/stolen_chunk_of_toke.c b/stolen_chunk_of_toke.c index 04dee1a..a15c9a1 100644 --- a/stolen_chunk_of_toke.c +++ b/stolen_chunk_of_toke.c @@ -75,7 +75,8 @@ STATIC char* S_scan_word(pTHX_ char *s, char *dest, STRLEN destlen, int allow * That's why we define our own PL_curcop and make it point to PL_compiling * here. */ -#define PL_curcop &PL_compiling +#undef PL_curcop +#define PL_curcop (&PL_compiling) #define CLINE (PL_copline = (CopLINE(PL_curcop) < PL_copline ? CopLINE(PL_curcop) : PL_copline))