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/)
Charlie Hull
charlie at juggler.net
Tue Feb 6 10:49:12 GMT 2007
Olly Betts wrote:
> On Tue, Feb 06, 2007 at 10:20:20AM +0000, Charlie Hull wrote:
>> That's much better Olly; keeping the platform specific stuff out is a
>> much tidier approach. I've had to make a small change to stop the MS
>> headers barfing (attached), but apart from that it builds fine.
>
> Hmm, what was the error? Ideally these safeXXX.h headers should be
> usable in the same order as the XXX.h headers they replace...
>
> Cheers,
> Olly
>
wchar.h was complaining at this line:
typedef long off_t; /* file offset value */
because you'd already defined off_t as __int64.
Charlie
More information about the Xapian-devel
mailing list