diff options
Diffstat (limited to 'include/dix-config-post-verbatim.h')
-rw-r--r-- | include/dix-config-post-verbatim.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/dix-config-post-verbatim.h b/include/dix-config-post-verbatim.h new file mode 100644 index 000000000..4bbb9b031 --- /dev/null +++ b/include/dix-config-post-verbatim.h @@ -0,0 +1,10 @@ +/* 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 |