Re: pgsql: windows: Define WIN32_LEAN_AND_MEAN to make compilation faster. - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: windows: Define WIN32_LEAN_AND_MEAN to make compilation faster.
Date
Msg-id 612842.1636237461@sss.pgh.pa.us
Whole thread Raw
In response to pgsql: windows: Define WIN32_LEAN_AND_MEAN to make compilation faster.  (Andres Freund <andres@anarazel.de>)
Responses Re: pgsql: windows: Define WIN32_LEAN_AND_MEAN to make compilation faster.
List pgsql-committers
Andres Freund <andres@anarazel.de> writes:
> windows: Define WIN32_LEAN_AND_MEAN to make compilation faster.

I happened to notice from grepping that
src/backend/port/win32/crashdump.c has its own

#define WIN32_LEAN_AND_MEAN

Can't we remove that now?  (I kind of wonder what good it did at all,
considering postgres.h has already pulled in <windows.h>.)

            regards, tom lane



pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: pgcrypto: Remove non-OpenSSL support
Next
From: Andres Freund
Date:
Subject: Re: pgsql: windows: Define WIN32_LEAN_AND_MEAN to make compilation faster.