search for: win3iop

Displaying 2 results from an estimated 2 matches for "win3iop".

2015 Oct 28
2
Trying to get Search::Xapian perl module to compile on win32
Resurrecting an old thread from 2012! Finally got back to working on this. I have been stuck in JavaScript land for too long. Come to find out, on windows, perl does indeed define open to be win32_open and close to be win32_close. This is done in perl/lib/CORE/win3iop.h. So, to get past this problem, I had to modify Xapian.xs to do an #undef of open and close if WIN32 is defined. Also, I had to modify the Makefile.PL to not use xapian_config to get the values it needs. Attached is a work in progress patch for both files. (hope the attachments come through)...
2015 Oct 29
4
Trying to get Search::Xapian perl module to compile on win32
...; Subject: Re: [Xapian-devel] Trying to get Search::Xapian perl module to compile on win32 On Wed, Oct 28, 2015 at 08:46:15PM +0000, Desmond Daignault wrote: > Come to find out, on windows, perl does indeed define open to be win32_open and close to be win32_close. This is done in perl/lib/CORE/win3iop.h. So, to get past this problem, I had to modify Xapian.xs to do an #undef of open and close if WIN32 is defined. > > Also, I had to modify the Makefile.PL to not use xapian_config to get the values it needs. > > Attached is a work in progress patch for both files. (hope the attach...