postgres.git / summary / log / commit / refs
commit 87bb606b20ae4e52fa45eda2d9914c19eb7eea5e
Author: Andres Freund <andres@anarazel.de>
Date: Sat Nov 06 22:43:22 2021 +0000
First released in: 15.0
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 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.
[parent: 3c2c391dc9f8]