Flip the sign of the value in body details offset, and change its type
[p5sagit/p5-mst-13.2.git] / op.c
diff --git a/op.c b/op.c
index d9cb1d0..aeedab9 100644 (file)
--- a/op.c
+++ b/op.c
@@ -4628,9 +4628,10 @@ Perl_newCONSTSUB(pTHX_ HV *stash, const char *name, SV *sv)
     CvCONST_on(cv);
     sv_setpvn((SV*)cv, "", 0);  /* prototype is "" */
 
+#ifdef USE_ITHREADS
     if (stash)
        CopSTASH_free(PL_curcop);
-
+#endif
     LEAVE;
 
     return cv;