In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/3c42ae191246d30bbd011647210be51680d7cea0?hp=cf97b304d6039d9a3ad08c2e75ae3dbf3cf32dc8>

- Log -----------------------------------------------------------------
commit 3c42ae191246d30bbd011647210be51680d7cea0
Author: Karl Williamson <k...@cpan.org>
Date:   Wed Sep 21 09:46:46 2016 -0600

    utf8.c: #define MIN if not already defined
    
    This is only used on EBCDIC.
-----------------------------------------------------------------------

Summary of changes:
 utf8.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/utf8.c b/utf8.c
index 7f8df9d..5fdaf52 100644
--- a/utf8.c
+++ b/utf8.c
@@ -381,6 +381,9 @@ S_is_utf8_cp_above_31_bits(const U8 * const s, const U8 * 
const e)
      */
 
 #ifdef EBCDIC
+#  ifndef MIN
+#    define MIN(a,b) ((a) < (b) ? (a) : (b))
+#  endif
 
         /* [0] is start byte    [1] [2] [3] [4] [5] [6] [7] */
     const U8 * const prefix = "\x41\x41\x41\x41\x41\x41\x42";

--
Perl5 Master Repository

Reply via email to