On Thu, May 12, 2011 at 12:37:30PM +0300, Arnon Gilboa wrote: > eliminating redefinition warning > --- > client/windows/stdint.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/client/windows/stdint.h b/client/windows/stdint.h > index 45b133e..768ca03 100644 > --- a/client/windows/stdint.h > +++ b/client/windows/stdint.h > @@ -293,7 +293,7 @@ typedef unsigned long long uintmax_t; > #define SIG_ATOMIC_MAX INT32_MAX > > > - > +#undef SIZE_MAX > #define SIZE_MAX UINT32_MAX
Any idea if the already defined value is good for us to use? Ie #ifndef SIZE_MAX #define SIZE_MAX UINT32_MAX #endif may be better. Or even dropping this #define if it's no longer useful. Maybe needed on cygwin? Christophe
pgp7coWiffmO5.pgp
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel