1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-21 00:42:43 +03:00

Only build in crashdump support on Windows if there's a working dbghelp.h.

This commit is contained in:
Andrew Dunstan
2010-12-26 10:34:47 -05:00
parent 85cff3ce7f
commit a534728afb
7 changed files with 147 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ main(int argc, char *argv[])
* If supported on the current platform, set up a handler to be called if
* the backend/postmaster crashes with a fatal signal or exception.
*/
#ifdef WIN32
#if defined(WIN32) && defined(HAVE_MINIDUMP_TYPE)
pgwin32_install_crashdump_handler();
#endif