summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-09-21 16:15:08 -0600
committerKarl Williamson <khw@cpan.org>2016-09-25 22:24:20 -0600
commit98fce2a4417fa36585bb48f6ae845bee93cac0fa (patch)
tree1edae7daef33c90d1efe55b587e523e8858bc7c7 /utf8.c
parent8bc127bf58304a1e46a3e33d30b0b8b6f21abb07 (diff)
downloadperl-98fce2a4417fa36585bb48f6ae845bee93cac0fa.tar.gz
Centralize definitions of MIN, MAX
Instead of having each file have them, keep them in handy.h, but only for core compilations.
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/utf8.c b/utf8.c
index 5fdaf52fde..7f8df9d4af 100644
--- a/utf8.c
+++ b/utf8.c
@@ -381,9 +381,6 @@ 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";