[PATCH] Merge regex portability/bug fixes from gawk

Paul Eggert eggert@CS.UCLA.EDU
Wed Jan 28 23:25:00 GMT 2004


Bonzini <bonzini@gnu.org> writes:

> +/* This is needed for size_t.  */
> +#ifdef _MSC_VER
> +#include <stdio.h>
> +#endif

I'd rather avoid _MSC_VER ifdefs in glibc and gnulib code.

If all you want is size_t, can't you just include <stddef.h>
unconditionally?  C89 says <stddef.h> defines size_t.  We can assume
C89 in regex.c these days.



More information about the Libc-alpha mailing list