[cairo-commit] src/cairo-wideint-private.h

Mathias Hasselmann hasselmm at kemper.freedesktop.org
Thu Apr 19 05:54:53 PDT 2007


 src/cairo-wideint-private.h |    6 ++++++
 1 files changed, 6 insertions(+)

New commits:
diff-tree 7906a993403e75aa34b32d2d9338ec179896d765 (from cc8841645cd7aa06ae48cbad804b31b3c0c2146b)
Author: Mathias Hasselmann <mathias.hasselmann at gmx.de>
Date:   Thu Apr 19 14:54:30 2007 +0200

    Define INT32 limits on MSVC as noticed by Hans-Jürgen Schäler

diff --git a/src/cairo-wideint-private.h b/src/cairo-wideint-private.h
index 7d459ea..636d8a6 100644
--- a/src/cairo-wideint-private.h
+++ b/src/cairo-wideint-private.h
@@ -64,6 +64,12 @@
 # ifndef UINT16_MAX
 #  define UINT16_MAX	(65535)
 # endif
+# ifndef INT32_MIN
+#  define INT32_MIN	(-2147483647-1)
+# endif
+# ifndef INT32_MAX
+#  define INT32_MAX	(2147483647)
+# endif
 #else
 #error Cannot find definitions for fixed-width integral types (uint8_t, uint32_t, etc.)
 #endif


More information about the cairo-commit mailing list