pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: windows: Define WIN32_LEAN_AND_MEAN to make compilation faster.
Date: Mon, 04 Oct 2021 20:16:51 +0000
Message-ID: <E1mXUOJ-0007BC-Sb@gemulon.postgresql.org> (raw)

windows: Define WIN32_LEAN_AND_MEAN to make compilation faster.

windows.h includes a lot of other headers, slowing down compilation
significantly. WIN32_LEAN_AND_MEAN reduces that a bit. It'd be better to
remove the include of windows.h (as well as indirect inclusions of it) from such
a central place, but until then...

Discussion: https://postgr.es/m/20210921193035.pqzay43vpyv7in43@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8162464a25e5314e753c580389f76a9b7f69445b

Modified Files
--------------
src/include/port/win32_port.h | 8 ++++++++
1 file changed, 8 insertions(+)



view thread (5+ messages)  latest in thread

Message-ID: <E1mXUOJ-0007BC-Sb@gemulon.postgresql.org>
Permalink:  ../E1mXUOJ-0007BC-Sb@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mXUOJ-0007BC-Sb@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: windows: Define WIN32_LEAN_AND_MEAN to make compilation faster.
  In-Reply-To: <E1mXUOJ-0007BC-Sb@gemulon.postgresql.org>
  References: <E1mXUOJ-0007BC-Sb@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox