On 01/31/13 12:24, Aharon Robbins wrote: >> Glibc <regex.h> does not have the problem, > How is that so? The undef of RE_DUP_MAX and redefine is there. > If limits.h is included after regex.h, then the value from limits.h > is applied.
But in Glibc the two definitions are equivalent (identical preprocessor token lists), so it's valid C and there's no problem.