mirror of
https://github.com/postgres/postgres.git
synced 2025-12-24 06:01:07 +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:
11
configure.ac
11
configure.ac
@@ -1937,18 +1937,7 @@ if test "$PORTNAME" = "win32"; then
|
||||
AC_LIBOBJ(win32security)
|
||||
AC_LIBOBJ(win32setlocale)
|
||||
AC_LIBOBJ(win32stat)
|
||||
AC_CHECK_TYPES(MINIDUMP_TYPE, [pgac_minidump_type=yes], [pgac_minidump_type=no], [
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include <string.h>
|
||||
#include <dbghelp.h>])
|
||||
fi
|
||||
if test x"$pgac_minidump_type" = x"yes" ; then
|
||||
AC_SUBST(have_win32_dbghelp,yes)
|
||||
else
|
||||
AC_SUBST(have_win32_dbghelp,no)
|
||||
fi
|
||||
|
||||
# Cygwin needs only a bit of that
|
||||
if test "$PORTNAME" = "cygwin"; then
|
||||
AC_LIBOBJ(dirmod)
|
||||
|
||||
Reference in New Issue
Block a user