mirror of
https://gitlab.freedesktop.org/xorg/lib/libxcb.git
synced 2026-05-07 17:48:10 +02:00
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:
parent
14faffc326
commit
b7c96681b2
1 changed files with 3 additions and 3 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue