[Spice-devel] [PATCH 02/20] mingw: don't redefine SIZE_MAX
Christophe Fergeau
cfergeau at redhat.com
Thu Mar 1 02:17:36 PST 2012
mingw already has SIZE_MAX defined so don't try to redefine it to
avoid a warning.
---
common/stdint.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/common/stdint.h b/common/stdint.h
index 250efb5..411f5bf 100644
--- a/common/stdint.h
+++ b/common/stdint.h
@@ -296,7 +296,9 @@ typedef unsigned long long uintmax_t;
+#ifndef SIZE_MAX
#define SIZE_MAX UINT32_MAX
+#endif
--
1.7.7.6
More information about the Spice-devel
mailing list