[Xapian-discuss] Building Xapian/Omega using Cygwin

Floris Bos flbos at hotmail.com
Fri Aug 26 16:35:35 BST 2005


Thank you.

I was on vacation so this is kind of a late reaction.

Regards,

Floris


>From: Olly Betts <olly at survex.com>
>To: Floris Bos <flbos at hotmail.com>, xapian-discuss at lists.xapian.org
>Subject: Re: [Xapian-discuss] Building Xapian/Omega using Cygwin
>Date: Wed, 17 Aug 2005 15:40:24 +0100
>
>On Wed, Aug 10, 2005 at 10:29:02AM +0100, James Aylett wrote:
> > This is the actual error, so it's the only thing we need to look
> > at. It looks like the cygwin build system isn't making it clear that
> > it's building under Windows, or possibly something somewhere is
> > clearing the __WIN32__ define.
>
>This is my fault.  I recently created "safewindows.h" which includes
>the standard windows.h header, but tries to minimise problems this can
>cause - previously we did this in files including windows.h, but not
>consistently.
>
>I included the check for __WIN32__ to make sure we never try to include
>this header except on windows, but cygwin doesn't define __WIN32__.  The
>attached patch should fix this.
>
>Cheers,
>     Olly


><< xapian-safewindows.patch >>





More information about the Xapian-discuss mailing list