[Xcb] xcb does not compile on solaris 8

Barton C Massey bart at cs.pdx.edu
Thu Oct 4 17:21:08 PDT 2007


Ah.  Thanks much for the clarification.

The right thing to do here is surely to ask autoconf to
figure this out and include the proper header file for the
target machine.  Patch gratefully accepted.

	Bart

In message <47055DB0.30302 at sun.com> you wrote:
> Vincent Torri wrote:
> > A guy on irc told me that xcb does not compile on solaris because 
> > __solaris__ is not defined on that OS scb.h, line 32).
> 
> Assuming you mean this in xcb.h:
> 
> #if defined(__solaris__)
> #include <inttypes.h>
> #else
> #include <stdint.h>
> #endif
> 
> Then yes, it wouldn't work on Solaris 8 or 9.   (I've never noticed because
> I only build on Solaris 10 and later, which have <stdint.h> so the lack
> of __solaris__ defined does the right thing there.)
> 
> -- 
> 	-Alan Coopersmith-           alan.coopersmith at sun.com
> 	 Sun Microsystems, Inc. - X Window System Engineering
> 
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb


More information about the Xcb mailing list