summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2017-10-12 16:26:56 +0200
committerAaron Crane <arc@cpan.org>2017-10-21 16:51:54 +0100
commit8162b70e63fb41df1eaf259c13d61d8b563cd7f5 (patch)
tree11c01a18a4ea042a9857efa20f0b0b120fb9c310 /regcomp.h
parent516e10a9956d11346cdddceee7203ef7e6181dc0 (diff)
downloadperl-8162b70e63fb41df1eaf259c13d61d8b563cd7f5.tar.gz
Don't use VOL internally, because "volatile" works just fine
However, we do preserve it outside PERL_CORE for the use of XS authors.
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.h b/regcomp.h
index 14599fac00..bb746b7334 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -1063,7 +1063,7 @@ re.pm, especially to the documentation.
#ifdef DEBUGGING
-#define GET_RE_DEBUG_FLAGS_DECL VOL IV re_debug_flags = 0; \
+#define GET_RE_DEBUG_FLAGS_DECL volatile IV re_debug_flags = 0; \
PERL_UNUSED_VAR(re_debug_flags); GET_RE_DEBUG_FLAGS;
#define RE_PV_COLOR_DECL(rpv,rlen,isuni,dsv,pv,l,m,c1,c2) \