summaryrefslogtreecommitdiff
path: root/include/dix-config-apple-verbatim.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dix-config-apple-verbatim.h')
-rw-r--r--include/dix-config-apple-verbatim.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/dix-config-apple-verbatim.h b/include/dix-config-apple-verbatim.h
new file mode 100644
index 0000000..f429d20
--- /dev/null
+++ b/include/dix-config-apple-verbatim.h
@@ -0,0 +1,8 @@
+/* Do not include this file directly. It is included at the end of <dix-config.h> */
+
+/* Correctly set _XSERVER64 for OSX fat binaries */
+#if defined(__LP64__) && !defined(_XSERVER64)
+#define _XSERVER64 1
+#elif !defined(__LP64__) && defined(_XSERVER64)
+#undef _XSERVER64
+#endif
contact: Jan Huwald // Impressum