aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/include/dix-config-apple-verbatim.h
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/include/dix-config-apple-verbatim.h')
-rw-r--r--xorg-server/include/dix-config-apple-verbatim.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/xorg-server/include/dix-config-apple-verbatim.h b/xorg-server/include/dix-config-apple-verbatim.h
new file mode 100644
index 000000000..f429d200e
--- /dev/null
+++ b/xorg-server/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