summaryrefslogtreecommitdiff
path: root/include/dix-config.h.in
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-01-12 11:51:28 -0800
committerKeith Packard <keithp@keithp.com>2009-01-12 11:51:28 -0800
commit71628cabc9dddf5c9fe12d555ae0c47d5902b2f7 (patch)
treec96b1c2ab4ee8f8ea9d611f863a7e92b7c5158f1 /include/dix-config.h.in
parentcbd977cc15cf22a3e42b10942d5657cb8b9ac335 (diff)
Merge include/dix-config-post-verbatim.h into include/dix-config.h.in
No sense having an extra include file here; it makes building stuff harder. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include/dix-config.h.in')
-rw-r--r--include/dix-config.h.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/dix-config.h.in b/include/dix-config.h.in
index 977bff3e9..8e047c491 100644
--- a/include/dix-config.h.in
+++ b/include/dix-config.h.in
@@ -429,6 +429,13 @@
/* Define to 1 if you have the `ffs' function. */
#undef HAVE_FFS
-#include <dix-config-post-verbatim.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
#endif /* _DIX_CONFIG_H_ */