diff options
author | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2008-11-03 22:25:09 +0000 |
---|---|---|
committer | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2008-11-03 22:25:09 +0000 |
commit | 26bfd9247054f97ba4aa03b16a44c34559ee16e4 (patch) | |
tree | 3e698b0a11618552c0e5ade4ef7626e354aa39a3 /handy.h | |
parent | e84ce9a2716d1220bc7c4b3a55e98e4a3ca18136 (diff) | |
download | perl-26bfd9247054f97ba4aa03b16a44c34559ee16e4.tar.gz |
The breakage caused by #34653 (sh|c)ould have been detected
by the compiler. So further improve the STR_WITH_LEN() macro.
p4raw-id: //depot/perl@34712
Diffstat (limited to 'handy.h')
-rw-r--r-- | handy.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -301,7 +301,7 @@ and omits the hash parameter. */ /* concatenating with "" ensures that only literal strings are accepted as argument */ -#define STR_WITH_LEN(s) (s ""), (sizeof(s)-1) +#define STR_WITH_LEN(s) ("" s ""), (sizeof(s)-1) /* note that STR_WITH_LEN() can't be used as argument to macros or functions that * under some configurations might be macros, which means that it requires the full |