[PATCH 1/2] Add AC_SYS_LARGEFILE defines to dix-config.h

Michel Dänzer michel at daenzer.net
Mon Mar 16 18:21:12 PDT 2015


From: Michel Dänzer <michel.daenzer at amd.com>

Without this, AC_SYS_LARGEFILE doesn't actually have any effect.

Signed-off-by: Michel Dänzer <michel at daenzer.net>
---
 include/dix-config.h.in | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/dix-config.h.in b/include/dix-config.h.in
index 1aa77a5..b0eb696 100644
--- a/include/dix-config.h.in
+++ b/include/dix-config.h.in
@@ -388,9 +388,15 @@
 /* Vendor name */
 #undef XVENDORNAME
 
+/* Number of bits in a file offset, on hosts where this is settable. */
+#undef _FILE_OFFSET_BITS
+
 /* Enable GNU and other extensions to the C environment for GLIBC */
 #undef _GNU_SOURCE
 
+/* Define for large files, on AIX-style hosts. */
+#undef _LARGE_FILES
+
 /* Define to empty if `const' does not conform to ANSI C. */
 #undef const
 
-- 
2.1.4



More information about the xorg-devel mailing list