summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2008-09-06 05:14:18 -0400
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2008-09-06 05:14:18 -0400
commit5e7388540f2cd201331cb3d1f616e3c300dbc45f (patch)
tree1fbcf05ab83115680c3b0e9a142a85c8a5aca1fe
parentf369d612b3d65529e4b10d8a0b1e015407357d9b (diff)
Check for __sun || __sun in pixman.h. Update TODO
Reported by Bernd Nies.
-rw-r--r--TODO4
-rw-r--r--pixman/pixman.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/TODO b/TODO
index 3bed70c..9468021 100644
--- a/TODO
+++ b/TODO
@@ -35,6 +35,10 @@
to indicate the actual depth. That way PIXMAN_x4c4 and PIXMAN_c8
won't collide.
+ - Maybe bite the bullet and make configure.ac generate a pixman-types.h
+ file that can be included from pixman.h to avoid the #ifdef magic
+ in pixman.h
+
- Make pixman_region_point_in() survive a NULL box, then fix up
pixman-compose.c
diff --git a/pixman/pixman.h b/pixman/pixman.h
index 977c0a6..36d91a9 100644
--- a/pixman/pixman.h
+++ b/pixman/pixman.h
@@ -74,7 +74,7 @@ SOFTWARE.
/*
* Standard integers
*/
-#if defined (_SVR4) || defined (SVR4) || defined (__OpenBSD__) || defined (_sgi)
+#if defined (_SVR4) || defined (SVR4) || defined (__OpenBSD__) || defined (_sgi) || defined (__sun) || defined (sun)
# include <inttypes.h>
#elif defined (_MSC_VER)
typedef __int8 int8_t;