projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c2c391
)
windows: Remove use of WIN32_LEAN_AND_MEAN from crashdump.c.
author
Andres Freund
<andres@anarazel.de>
Sat, 6 Nov 2021 22:43:22 +0000
(15:43 -0700)
committer
Andres 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
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/port/win32/crashdump.c
b/src/backend/port/win32/crashdump.c
index 45b6696ba17e679e7c8699ca00f7029c284377b9..70df35783f3de4d9f2e1a7e8b5ba3c5f60a12516 100644
(file)
--- 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.