summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund2021-11-06 22:43:22 +0000
committerAndres Freund2021-11-06 22:43:22 +0000
commit87bb606b20ae4e52fa45eda2d9914c19eb7eea5e (patch)
tree0eb556cff2399c4a079f024a2fb46d71fc673ec6
parent3c2c391dc9f82fae181508ebcc2f7621ffefd024 (diff)
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/[email protected]
-rw-r--r--src/backend/port/win32/crashdump.c2
1 files changed, 0 insertions, 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.