This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Merge regex portability/bug fixes from gawk


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]