Re: test/example does not support win32.

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Hiroshi Saito <z-saito@guitar.ocn.ne.jp>, Alvaro Herrera <alvherre@commandprompt.com>, pgsql-hackers <pgsql-hackers@postgresql.org>, Bruce Momjian <bruce@momjian.us>
Date: 2009-12-30T16:09:30Z
Lists: pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Tom Lane wrote:
>> On reflection I think it's just wrong to expect that the examples will
>> compile out-of-the-box on every platform.

> That would be all good and well if we didn't already rely on the 
> configure setup. But we do - the Makefile includes src/Makefile.global, 
> which is built by configure.

That makefile is not part of the examples.  It wouldn't get copied and
pasted into someone's source code.

> Anyway, let's see how far we can get with including some standard header 
> files.

Sure, no objection to that.  It's when somebody starts wanting to use
HAVE_FOO symbols that I get unhappy.

			regards, tom lane