[Spice-commits] include/stdint.h
Alexander Larsson
alexl at kemper.freedesktop.org
Fri Mar 5 07:28:00 PST 2010
include/stdint.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 9e38a06bb5996bcbbbf4813d90fbd10d87c5d740
Author: Alexander Larsson <alexl at redhat.com>
Date: Fri Mar 5 16:26:14 2010 +0100
Fix build failure due to already defined SIZE_MAX
diff --git a/include/stdint.h b/include/stdint.h
index 8b94f37..25920dc 100644
--- a/include/stdint.h
+++ b/include/stdint.h
@@ -292,8 +292,9 @@ typedef unsigned long long uintmax_t;
+#ifndef SIZE_MAX
#define SIZE_MAX UINT32_MAX
-
+#endif
#ifndef WCHAR_MIN /* also in wchar.h */
More information about the Spice-commits
mailing list