windows: Remove use of WIN32_LEAN_AND_MEAN from crashdump.c.
authorAndres Freund <andres@anarazel.de>
Sat, 6 Nov 2021 22:43:22 +0000 (15:43 -0700)
committerAndres Freund <andres@anarazel.de>
Sat, 6 Nov 2021 22:43:22 +0000 (15:43 -0700)
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

index 45b6696ba17e679e7c8699ca00f7029c284377b9..70df35783f3de4d9f2e1a7e8b5ba3c5f60a12516 100644 (file)
@@ -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.