Re: windows build slow due to windows.h includes
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: Noah Misch <noah@leadboat.com>, Andres Freund <andres@anarazel.de>, pgsql-hackers@postgresql.org, Andrew Dunstan <andrew@dunslane.net>
Date: 2021-09-23T11:51:38Z
Lists: pgsql-hackers
On Wed, Sep 22, 2021 at 02:14:59PM +0530, Amit Kapila wrote: > On Wed, Sep 22, 2021 at 11:14 AM Noah Misch <noah@leadboat.com> wrote: > > +1, great win for a one-liner. > > +1. It reduced the build time of Postgres from "Time Elapsed > 00:01:57.60" to "Time Elapsed 00:01:38.11" in my Windows env. (Win 10, > MSVC 2019). That's nice. Great find! -- Michael
Commits
-
windows: Define WIN32_LEAN_AND_MEAN to make compilation faster.
- 8162464a25e5 15.0 landed