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-Tag: REL_15_BETA1~1220 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=87bb606b20ae4e52fa45eda2d9914c19eb7eea5e;p=thirdparty%2Fpostgresql.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 45b6696ba17..70df35783f3 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.