summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-09-06 13:10:02 -0600
committerKarl Williamson <khw@cpan.org>2020-09-09 19:56:34 -0600
commit041c1a236adc7fba9323bf915d40b86b247edf2a (patch)
tree8bb85ba39774e0732548836b140d32fea7753995 /regexp.h
parentb440465d5a4b3b04a3503d257418cf65ade0cbdb (diff)
downloadperl-041c1a236adc7fba9323bf915d40b86b247edf2a.tar.gz
Use macro instead of its expansion
We already have a macro that expands to what this code does; it's clearer to use it.
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexp.h b/regexp.h
index 16fddced28..5335061f32 100644
--- a/regexp.h
+++ b/regexp.h
@@ -608,7 +608,7 @@ and check for NULL.
the start pos (so s/.\G// would fail
on second iteration */
-#if defined(__GNUC__) && !defined(PERL_GCC_BRACE_GROUPS_FORBIDDEN)
+#if defined(PERL_USE_GCC_BRACE_GROUPS)
# define ReREFCNT_inc(re) \
({ \
/* This is here to generate a casting warning if incorrect. */ \