1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

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
This commit is contained in:
Andres Freund
2022-08-07 09:36:01 -07:00
parent 320f92b744
commit 9ddb870bd4
7 changed files with 2 additions and 48 deletions

26
configure vendored
View File

@ -648,7 +648,6 @@ MSGFMT
PG_CRC32C_OBJS
CFLAGS_ARMV8_CRC32C
CFLAGS_SSE42
have_win32_dbghelp
LIBOBJS
ZSTD
LZ4
@ -16897,32 +16896,7 @@ esac
;;
esac
ac_fn_c_check_type "$LINENO" "MINIDUMP_TYPE" "ac_cv_type_MINIDUMP_TYPE" "
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <string.h>
#include <dbghelp.h>
"
if test "x$ac_cv_type_MINIDUMP_TYPE" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_MINIDUMP_TYPE 1
_ACEOF
pgac_minidump_type=yes
else
pgac_minidump_type=no
fi
fi
if test x"$pgac_minidump_type" = x"yes" ; then
have_win32_dbghelp=yes
else
have_win32_dbghelp=no
fi
# Cygwin needs only a bit of that
if test "$PORTNAME" = "cygwin"; then
case " $LIBOBJS " in