From: Andres Freund Date: Sat, 6 Nov 2021 22:43:22 +0000 (-0700) Subject: windows: Remove use of WIN32_LEAN_AND_MEAN from crashdump.c. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=87bb606b20ae4e52fa45eda2d9914c19eb7eea5e;p=users%2Frhaas%2Fpostgres.git windows: Remove use of WIN32_LEAN_AND_MEAN from crashdump.c. Since 8162464a25e we do so in win32_port.h. But it likely didn't do much before that either, because at that point windows.h was already included via win32_port.h. Reported-By: Tom Lane Discussion: https://postgr.es/m/612842.1636237461@sss.pgh.pa.us --- diff --git a/src/backend/port/win32/crashdump.c b/src/backend/port/win32/crashdump.c index 45b6696ba1..70df35783f 100644 --- a/src/backend/port/win32/crashdump.c +++ b/src/backend/port/win32/crashdump.c @@ -38,8 +38,6 @@ #include "postgres.h" -#define WIN32_LEAN_AND_MEAN - /* * Some versions of the MS SDK contain "typedef enum { ... } ;" which the MS * compiler quite sanely complains about. Well done, Microsoft.