[rt.cpan.org #121683]

"Kai-Uwe Eckhardt via RT" <[email protected]> Fri, 16 Jun 2017 07:17:00 -0400
Newsgroups gmane.comp.lang.perl.wxperl
Message-ID <[email protected]>
Fri Jun 16 07:16:49 2017: Request 121683 was acted upon.
Transaction: Correspondence added by [email protected]
       Queue: Wx
     Subject: [rt.cpan.org #121683]
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: [email protected]
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=121683 >


Wx builds and passes the tests after patching perl.h with the following 
patch (strtoll and strtoul are provided by mingw-w64 and  _stroi64 is 
only needed with Visual C).

Kai-Uwe


--- /c/users/keckhard/Downloads/Perl/perl-5.26.0/perl.h	2017-05-30 
09:58:05 +0000
+++ /c/perl5/perl/lib/CORE/perl.h	2017-06-16 10:02:58 +0000
@@ -6261,7 +6261,7 @@
  #    ifdef __hpux
  #        define strtoll __strtoll	/* secret handshake */
  #    endif
-#    ifdef WIN64
+#    if defined(WIN64) && defined(_MSC_VER)
  #        define strtoll _strtoi64	/* secret handshake */
  #    endif
  #   if !defined(Strtol) && defined(HAS_STRTOLL)
@@ -6295,7 +6295,7 @@
  #    ifdef __hpux
  #        define strtoull __strtoull	/* secret handshake */
  #    endif
-#    ifdef WIN64
+#    if defined(WIN64) && defined(_MSC_VER)
  #        define strtoull _strtoui64	/* secret handshake */
  #    endif
  #    if !defined(Strtoul) && defined(HAS_STRTOULL)