Use croak instead of Perl_croak.
rafl [Sat, 4 Oct 2008 02:31:35 +0000 (02:31 +0000)]
git-svn-id: http://dev.catalyst.perl.org/repos/bast/Devel-Declare/1.000/trunk@4870 bd8105ee-0ff8-0310-8827-fb3f25b6796d

Declare.xs

index 8b9bb37..4148673 100644 (file)
@@ -123,7 +123,7 @@ void dd_set_linestr(pTHX_ char* new_value) {
   SvGROW(PL_linestr, strlen(new_value));
 
   if (SvPVX(PL_linestr) != old_linestr)
-    Perl_croak(aTHX_ "forced to realloc PL_linestr for line %s, bailing out before we crash harder", SvPVX(PL_linestr));
+    croak("forced to realloc PL_linestr for line %s, bailing out before we crash harder", SvPVX(PL_linestr));
 
   memcpy(SvPVX(PL_linestr), new_value, new_len+1);