summaryrefslogtreecommitdiff
path: root/handy.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 /handy.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 'handy.h')
-rw-r--r--handy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/handy.h b/handy.h
index 37d046844b..1637f463fe 100644
--- a/handy.h
+++ b/handy.h
@@ -93,7 +93,7 @@ already-built-in ones return pointers to what their names indicate.
=cut
*/
-#if defined(__GNUC__) && !defined(PERL_GCC_BRACE_GROUPS_FORBIDDEN)
+#if defined(PERL_USE_GCC_BRACE_GROUPS)
# define MUTABLE_PTR(p) ({ void *p_ = (p); p_; })
#else
# define MUTABLE_PTR(p) ((void *) (p))