summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
Diffstat (limited to 'scope.h')
-rw-r--r--scope.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scope.h b/scope.h
index b9495673c4..6aca9ea5a6 100644
--- a/scope.h
+++ b/scope.h
@@ -111,8 +111,10 @@
} STMT_END
#ifdef USE_ITHREADS
+# define SAVECOPSTASH(cop) SAVEPPTR(CopSTASHPV(cop))
# define SAVECOPFILE(cop) SAVEPPTR(CopFILE(cop))
#else
+# define SAVECOPSTASH(cop) SAVESPTR(CopSTASH(cop))
# define SAVECOPFILE(cop) SAVESPTR(CopFILEGV(cop))
#endif