Skip to content

Commit

Permalink
fix IV format on v5.6 (#581)
Browse files Browse the repository at this point in the history
%I64d is available from v5.8.
we need to use %ld on v5.6.
  • Loading branch information
shogo82148 committed Jan 16, 2021
1 parent d1282c8 commit f30b4d2
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions scripts/lib/Devel/PatchPerl/Plugin/MinGWGNUmakefile.pm
Original file line number Diff line number Diff line change
Expand Up @@ -11243,11 +11243,11 @@ else
@(echo #undef NV_PRESERVES_UV&& \
echo #define NV_PRESERVES_UV_BITS 53)>> config.h
endif
@(echo #define IVdf "I64d"&& \
echo #define UVuf "I64u"&& \
echo #define UVof "I64o"&& \
echo #define UVxf "I64x"&& \
echo #define UVXf "I64X"&& \
@(echo #define IVdf "ld"&& \
echo #define UVuf "lu"&& \
echo #define UVof "lo"&& \
echo #define UVxf "lx"&& \
echo #define UVXf "lX"&& \
echo #define USE_64_BIT_INT)>> config.h
else
@(echo #define IVTYPE long&& \
Expand Down Expand Up @@ -12489,11 +12489,11 @@ else
@(echo #undef NV_PRESERVES_UV&& \
echo #define NV_PRESERVES_UV_BITS 53)>> config.h
endif
@(echo #define IVdf "I64d"&& \
echo #define UVuf "I64u"&& \
echo #define UVof "I64o"&& \
echo #define UVxf "I64x"&& \
echo #define UVXf "I64X"&& \
@(echo #define IVdf "ld"&& \
echo #define UVuf "lu"&& \
echo #define UVof "lo"&& \
echo #define UVxf "lx"&& \
echo #define UVXf "lX"&& \
echo #define USE_64_BIT_INT)>> config.h
else
@(echo #define IVTYPE long&& \
Expand Down

0 comments on commit f30b4d2

Please sign in to comment.