Re: MingW and MiniDumps - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: MingW and MiniDumps
Date
Msg-id 4D0F83A9.1030507@dunslane.net
Whole thread Raw
In response to Re: MingW and MiniDumps  (Magnus Hagander <magnus@hagander.net>)
Responses Re: MingW and MiniDumps  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers


On 12/19/2010 03:09 PM, Magnus Hagander wrote:
>>
>> I can't find either the header or the symbols.
> That's weird - from what I can tell, at least narwahl isn't
> complaining about a missing include file, just the undefined symbols.
> Different versions of mingw perhaps?
>

Maybe. I have no idea where narwhal got its version of dbghelp.h. I 
copied the file from the SDK directory to mingw's include directory and 
the build then ran perfectly. I think therefore the right thing is to 
have a configure test for the file and for MINIDUMP_TYPE on win32, and 
only build in crashdump if it passes those tests.

cheers

andrew




pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: [GENERAL] queriing the version of libpq
Next
From: Robert Haas
Date:
Subject: Re: Extensions and custom_variable_classes