diff options
author | Karl Williamson <khw@cpan.org> | 2020-09-06 13:10:02 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-09-09 19:56:34 -0600 |
commit | 041c1a236adc7fba9323bf915d40b86b247edf2a (patch) | |
tree | 8bb85ba39774e0732548836b140d32fea7753995 /handy.h | |
parent | b440465d5a4b3b04a3503d257418cf65ade0cbdb (diff) | |
download | perl-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |