summaryrefslogtreecommitdiff
path: root/regcomp.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 /regcomp.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 'regcomp.c')
-rw-r--r--regcomp.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/regcomp.c b/regcomp.c
index b00b385101..634a320791 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -101,14 +101,6 @@ EXTERN_C const struct regexp_engine my_reg_engine;
#define STATIC static
#endif
-#ifndef MIN
-#define MIN(a,b) ((a) < (b) ? (a) : (b))
-#endif
-
-#ifndef MAX
-#define MAX(a,b) ((a) > (b) ? (a) : (b))
-#endif
-
/* this is a chain of data about sub patterns we are processing that
need to be handled separately/specially in study_chunk. Its so
we can simulate recursion without losing state. */