MSVC large file support (was Re: [Xapian-devel] Re: [Xapian-commits] 7603: trunk/xapian-core/ trunk/xapian-core/backends/flint/ trunk/xapian-core/backends/quartz/)

Olly Betts olly at
Wed Feb 7 01:17:39 GMT 2007

On Tue, Feb 06, 2007 at 10:49:12AM +0000, Charlie Hull wrote:
> wchar.h was complaining at this line:
> typedef long off_t;                /* file offset value */
> because you'd already defined off_t as __int64.

Apparently sys/types.h has a typedef for off_t too, so I think the best
fix is to just explicitly #include that from safeunistd.h before we
#define off_t to something else.  I've committed that change.


More information about the Xapian-devel mailing list