This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] Merge regex portability/bug fixes from gawk
- From: Paul Eggert <eggert at CS dot UCLA dot EDU>
- To: Bonzini <bonzini at gnu dot org>
- Cc: libc-alpha at sources dot redhat dot com
- Date: 28 Jan 2004 15:24:52 -0800
- Subject: Re: [PATCH] Merge regex portability/bug fixes from gawk
- References: <20040128125847.GA10923@fencepost>
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.