diff options
| author | Andres Freund | 2022-08-07 16:36:01 +0000 |
|---|---|---|
| committer | Andres Freund | 2022-08-07 16:36:01 +0000 |
| commit | 9ddb870bd479c1e9cacc5605b7831a4df90fcbf5 (patch) | |
| tree | f1b4bcefdf168d60555be5129276164aee077fad /src/backend | |
| parent | 320f92b744b44f961e5d56f5f21de003e8027a7f (diff) | |
windows: Remove HAVE_MINIDUMP_TYPE test
We've relied on it being present for msvc for ages...
Reviewed-By: Thomas Munro <thomas.munro@gmail.com>
Discussion: https://postgr.es/m/20220807012914.ydz73yte6j3coulo@awork3.anarazel.de
Diffstat (limited to 'src/backend')
| -rw-r--r-- | src/backend/main/main.c | 2 | ||||
| -rw-r--r-- | src/backend/port/win32/Makefile | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/backend/main/main.c b/src/backend/main/main.c index bb782fa1ec6..5a964a0db67 100644 --- a/src/backend/main/main.c +++ b/src/backend/main/main.c @@ -63,7 +63,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. */ -#if defined(WIN32) && defined(HAVE_MINIDUMP_TYPE) +#if defined(WIN32) pgwin32_install_crashdump_handler(); #endif diff --git a/src/backend/port/win32/Makefile b/src/backend/port/win32/Makefile index 90126f634ac..61e0369d621 100644 --- a/src/backend/port/win32/Makefile +++ b/src/backend/port/win32/Makefile @@ -13,11 +13,9 @@ top_builddir = ../../../.. include $(top_builddir)/src/Makefile.global OBJS = \ + crashdump.o \ signal.o \ socket.o \ timer.o -ifeq ($(have_win32_dbghelp), yes) -OBJS += crashdump.o -endif include $(top_srcdir)/src/backend/common.mk |
