diff options
author | Karl Williamson <khw@cpan.org> | 2016-09-21 16:15:08 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2016-09-25 22:24:20 -0600 |
commit | 98fce2a4417fa36585bb48f6ae845bee93cac0fa (patch) | |
tree | 1edae7daef33c90d1efe55b587e523e8858bc7c7 /regcomp.c | |
parent | 8bc127bf58304a1e46a3e33d30b0b8b6f21abb07 (diff) | |
download | perl-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.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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. */ |