Re: Further simplification of c.h's #include section

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

From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Rowley <david.rowley@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2017-11-16T15:38:21Z
Lists: pgsql-hackers
David Rowley <david.rowley@2ndquadrant.com> writes:
> On 16 November 2017 at 15:52, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Anybody want to test this manually, or shall we just throw it into the
>> buildfarm and see what blows up?

> I don't have any cygwin around, but it compiles fine with the Visual
> Studios 2012 toolchain.

Thanks for testing!  I pushed it after a little bit more cosmetic
rearrangement; in particular, I ended up deciding that the _WIN32_WINNT
business really ought to be before the system headers, even if we've
somehow got away without that all these years.  The buildfarm will
soon tell us if I was right or not.

			regards, tom lane


Commits

  1. Further refactoring of c.h and nearby files.

  2. Rearrange c.h to create a "compiler characteristics" section.