From 87bb606b20ae4e52fa45eda2d9914c19eb7eea5e Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Sat, 6 Nov 2021 15:43:22 -0700 Subject: [PATCH] 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 --- src/backend/port/win32/crashdump.c | 2 -- 1 file changed, 2 deletions(-) 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.