Check for __sun || __sun in pixman.h. Update TODO

Reported by Bernd Nies.
This commit is contained in:
Søren Sandmann Pedersen 2008-09-06 05:14:18 -04:00
parent f369d612b3
commit 5e7388540f
2 changed files with 5 additions and 1 deletions

4
TODO
View File

@ -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

View File

@ -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;