diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/Devel/DProf/DProf.xs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/Devel/DProf/DProf.xs b/ext/Devel/DProf/DProf.xs index d0ac18a7da..6e9cfb3075 100644 --- a/ext/Devel/DProf/DProf.xs +++ b/ext/Devel/DProf/DProf.xs @@ -96,7 +96,9 @@ typedef struct { long long start_cnt; #endif #ifdef PERL_IMPLICIT_CONTEXT +# define register pTHX; +# undef register #endif } prof_state_t; |