This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
parenthesize NV_OVERFLOWS_INTEGERS_AT value
authorLukas Mai <l.mai@web.de>
Fri, 13 Oct 2017 20:30:42 +0000 (22:30 +0200)
committerLukas Mai <l.mai@web.de>
Fri, 13 Oct 2017 20:30:42 +0000 (22:30 +0200)
It's a macro that expands to an expression. Parenthesize it for safety.

U/perl/perlxv.U

index e2c574b..cc857b6 100644 (file)
 ?H:#define     NVSIZE          $nvsize         /**/
 ?H:#$d_nv_preserves_uv NV_PRESERVES_UV
 ?H:#define     NV_PRESERVES_UV_BITS    $nv_preserves_uv_bits
-?H:#define     NV_OVERFLOWS_INTEGERS_AT        $nv_overflows_integers_at
+?H:#define     NV_OVERFLOWS_INTEGERS_AT        ($nv_overflows_integers_at)
 ?H:#$d_nv_zero_is_allbits_zero NV_ZERO_IS_ALLBITS_ZERO
 ?H:?%<:#if UVSIZE == 8
 ?H:?%<:#   ifdef BYTEORDER