From: Slaven Rezic Date: Thu, 21 Aug 2014 18:15:38 +0000 (+0200) Subject: my_strerror is defined since perl 5.21.x X-Git-Tag: v1.001~13 X-Git-Url: http://git.imager.perl.org/imager.git/commitdiff_plain/70516ed3f0ea50e5381d78aad6eaaf82d521a572 my_strerror is defined since perl 5.21.x This change fixes https://rt.cpan.org/Ticket/Display.html?id=98234 --- diff --git a/perlio.c b/perlio.c index d69e5196..c4a6e875 100644 --- a/perlio.c +++ b/perlio.c @@ -18,6 +18,8 @@ static int perlio_closer(void *handle); static void perlio_destroy(void *handle); +/* my_strerror is defined since perl 5.21.x */ +#undef my_strerror static const char *my_strerror(pTHX_ int err); #ifndef tTHX