pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-odbc@postgresql.org>
Subject: Re: Build broken since 9aaa062 because of missing isnan and isinf
Date: Thu, 29 Jan 2015 14:53:56 +0200
Message-ID: <54CA2D64.2070908@vmware.com> (raw)
In-Reply-To: <CAB7nPqSagd5yvdVddMu+qsRh8X8cUp2MkHomKD==rynCrQCBDg@mail.gmail.com>
References: <CAB7nPqTaakgt88aQd1wY-GC0xzKfFph10P_GhrMv-Pn3x5huQg@mail.gmail.com>
	<54CA1AD0.4050102@vmware.com>
	<CAB7nPqSagd5yvdVddMu+qsRh8X8cUp2MkHomKD==rynCrQCBDg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

On 01/29/2015 01:51 PM, Michael Paquier wrote:
> On Thu, Jan 29, 2015 at 8:34 PM, Heikki Linnakangas
> <hlinnakangas@vmware.com> wrote:
>> Oh, thanks, fixed. I vaguely remembered that Windows doesn't have those
>> macros, but it actually worked on my Windows system. Maybe they've added
>> them to the MSVC headers recently...
> Yes, they have been added in MS 2013. I think that my patch is
> actually a bit wrong, we may want to use _MSC_VER < 1800 as well.

Good point. I'm seeing a compiler warning on my system now, about 
redefining isnan and isinf. I rewrote the #ifdef as:

#if defined(WIN32) && !defined(isnan)

That seems to fix the warnings.

- Heikki



-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (5+ messages)  latest in thread

Message-ID: <54CA2D64.2070908@vmware.com>
Permalink:  ../54CA2D64.2070908@vmware.com/
Also on:    postgresql.org/message-id/54CA2D64.2070908@vmware.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: hlinnakangas@vmware.com, michael.paquier@gmail.com
  Subject: Re: Build broken since 9aaa062 because of missing isnan and isinf
  In-Reply-To: <54CA2D64.2070908@vmware.com>
  References: <CAB7nPqTaakgt88aQd1wY-GC0xzKfFph10P_GhrMv-Pn3x5huQg@mail.gmail.com> <54CA1AD0.4050102@vmware.com> <CAB7nPqSagd5yvdVddMu+qsRh8X8cUp2MkHomKD==rynCrQCBDg@mail.gmail.com> <54CA2D64.2070908@vmware.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox