Replace HAVE_* tests with just checking for (__solaris__)

The installed headers can't be relying on the presence of the internal
config.h defines, and it was breaking the xcb build for me as well due to
config.h not being included early enough.
This commit is contained in:
Eric Anholt 2006-07-25 09:13:59 -07:00
parent 14faffc326
commit b7c96681b2

View File

@ -29,10 +29,10 @@
#define __XCB_H__
#include <sys/types.h>
#if HAVE_STDINT_H
#include <stdint.h>
#elif HAVE_INTTYPES_H
#if defined(__solaris__)
#include <inttypes.h>
#else
#include <stdint.h>
#endif
/* FIXME: these names conflict with those defined in Xmd.h. */