From: Florian Ragwitz <rafl@debian.org>
Date: Wed, 1 Oct 2008 13:49:59 +0000 (+0000)
Subject: Nullsv is kinda deprecated and not available anymore if PERL_CORE is defined.
X-Git-Tag: 0.005000~85
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f05cbc90be04150b40bd4ee13eb5405cbc57a7ac;p=p5sagit%2FDevel-Declare.git

Nullsv is kinda deprecated and not available anymore if PERL_CORE is defined.
---

diff --git a/Declare.xs b/Declare.xs
index d4b74f9..8b9bb37 100644
--- a/Declare.xs
+++ b/Declare.xs
@@ -138,7 +138,7 @@ char* dd_get_lex_stuff(pTHX) {
 
 char* dd_clear_lex_stuff(pTHX) {
   if (DD_HAVE_PARSER)
-    PL_lex_stuff = Nullsv;
+    PL_lex_stuff = (SV*)NULL;
 }
 
 char* dd_get_curstash_name(pTHX) {