[cairo] cairo-wideint int64 problem
Jason Dorje Short
jdorje at users.sf.net
Thu Apr 7 17:10:32 PDT 2005
This patch lets you reproduce the bugs with the internal int64/uint64
implementation. This bug is in bugzilla somewhere (but not in
bugs.freedesktop.org, or at least I couldn't find it - I think it's in
Mozilla's bugzilla).
-jason
-------------- next part --------------
Index: src/cairo-wideint.h
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-wideint.h,v
retrieving revision 1.9
diff -u -r1.9 cairo-wideint.h
--- src/cairo-wideint.h 7 Apr 2005 22:00:46 -0000 1.9
+++ src/cairo-wideint.h 7 Apr 2005 23:28:24 -0000
@@ -38,6 +38,11 @@
#ifndef CAIRO_WIDEINT_H
#define CAIRO_WIDEINT_H
+#undef HAVE_STDINT_H
+#undef HAVE_INTTYPES_H
+#undef HAVE_SYS_INT_TYPES_H
+#undef HAVE_UINT64_T
+
#if HAVE_STDINT_H
# include <stdint.h>
#elif HAVE_INTTYPES_H
@@ -45,6 +50,7 @@
#elif HAVE_SYS_INT_TYPES_H
# include <sys/int_types.h>
#else
+#if 0
typedef signed char int8_t;
typedef short int16_t;
typedef long int32_t;
@@ -52,6 +58,7 @@
typedef unsigned short uint16_t;
typedef unsigned long uint32_t;
#endif
+#endif
/*
* 64-bit datatypes. Two separate implementations, one using
More information about the cairo
mailing list