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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user