diff --git a/include/dix-config-post-verbatim.h b/include/dix-config-post-verbatim.h deleted file mode 100644 index 4bbb9b031..000000000 --- a/include/dix-config-post-verbatim.h +++ /dev/null @@ -1,10 +0,0 @@ -/* Do not include this file directly. It is included at the end of */ - -/* 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 diff --git a/include/dix-config.h.in b/include/dix-config.h.in index 06fdc438f..bded111d9 100644 --- a/include/dix-config.h.in +++ b/include/dix-config.h.in @@ -494,6 +494,13 @@ /* Define to 64-bit byteswap macro */ #undef bswap_64 -#include +/* 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 #endif /* _DIX_CONFIG_H_ */