Re: gettimeofday cause crash on Windows

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Asif Naeem <anaeem(dot)it(at)gmail(dot)com>, Andres Freund <andres(at)2ndquadrant(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: gettimeofday cause crash on Windows
Date: 2015-02-21 22:16:31
Message-ID: 30165.1424556991@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> I assume that the problem here must be whatever secret sauce WINAPI
> pours on the declaration.

A bit of googling says that that expands to _stdcall which is not like
_cdecl. I tried fixing this blindly; might not work, but it can't be
any more broken.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Eric Hanson 2015-02-22 18:07:52 express composite type literal as text
Previous Message Asif Naeem 2015-02-21 19:07:02 Re: gettimeofday cause crash on Windows