Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d382828

Browse files
committed
Remove thread dumping constant that requires newer Platform SDK
Since we're not multithreaded it only provides marginally useful information, and it does require a newer version of the Platform SDK than we target. We may want to reconsider this in the future along with a fix for MinGW.
1 parent 1b19e2c commit d382828

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/backend/port/win32/crashdump.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,6 @@ crashDumpHandler(struct _EXCEPTION_POINTERS *pExceptionInfo)
132132
dumpType |= MiniDumpWithIndirectlyReferencedMemory |
133133
MiniDumpWithPrivateReadWriteMemory;
134134
}
135-
if (GetProcAddress(hDll, "SymFromIndex") != NULL)
136-
{
137-
/* If this function exists, we have version 6.2 or newer */
138-
dumpType |= MiniDumpWithThreadInfo;
139-
}
140135

141136
systemTicks = GetTickCount();
142137
snprintf(dumpPath, _MAX_PATH,

0 commit comments

Comments
 (0)