[Xcb] xcb does not compile on solaris 8

Alan Coopersmith alan.coopersmith at sun.com
Thu Oct 4 14:40:00 PDT 2007

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>
#include <stdint.h>

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

More information about the Xcb mailing list