Nullsv is kinda deprecated and not available anymore if PERL_CORE is defined.
rafl [Wed, 1 Oct 2008 13:49:59 +0000 (13:49 +0000)]
git-svn-id: http://dev.catalyst.perl.org/repos/bast/Devel-Declare/1.000/trunk@4868 bd8105ee-0ff8-0310-8827-fb3f25b6796d

Declare.xs

index d4b74f9..8b9bb37 100644 (file)
@@ -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) {