From 12ff33c3fbf1dfc2dce60f6a75bb546ca3bf6735 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 18 Oct 2016 03:09:59 +0200 Subject: add support for int64, using Math::Int64 C API previously it was missing on 32bit arches --- URPM.xs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'URPM.xs') diff --git a/URPM.xs b/URPM.xs index 5e23ba6..8602dc9 100644 --- a/URPM.xs +++ b/URPM.xs @@ -12,6 +12,10 @@ #include "perl.h" #include "XSUB.h" +#include +#define MATH_INT64_NATIVE_IF_AVAILABLE +#include "perl_math_int64.h" + #include #include #include @@ -2755,6 +2759,7 @@ MODULE = URPM PACKAGE = URPM PREFIX = Urpm_ BOOT: (void) read_config_files(0); + PERL_MATH_INT64_LOAD_OR_CROAK; void Urpm_bind_rpm_textdomain_codeset() -- cgit v1.2.1