large file support and GetDiskFreeSpace gets wrong info on > 2GB disks

Vijay Kiran Kamuju infyquest at
Tue Sep 27 05:02:48 CDT 2005

Hi Alexander

We should add the following lines to the configure script to check for
large file support in the kernel. As the GetDiskFreeSpace gets wrong
information regarding the disk space on disks > 2GB.

dnl This test must come as early as possible after the compiler configuration
dnl tests, because the choice of the file model can (in principle) affect
dnl whether functions and headers are available, whether they work, etc.

CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=${ac_cv_sys_file_offset_bits}"
AC_CHECK_SIZEOF(off_t, 64, [
	#include <stdio.h>
	#include <sys/types.h>
	#include <unistd.h>


More information about the wine-devel mailing list