mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-25 08:30:40 +02:00
Let Xarch.h set X_BYTE_ORDER for us.
Determine _XSERVER64 at build time.
(cherry picked from commit f54736c2b0)
10 lines
303 B
C
10 lines
303 B
C
/* Do not include this file directly. It is included at the end of <dix-config.h> */
|
|
|
|
/* Correctly set _XSERVER64 for OSX fat binaries */
|
|
#ifdef __APPLE__
|
|
#if defined(__LP64__) && !defined(_XSERVER64)
|
|
#define _XSERVER64 1
|
|
#elif !defined(__LP64__) && defined(_XSERVER64)
|
|
#undef _XSERVER64
|
|
#endif
|
|
#endif
|