Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YGr28-0002hW-ES for pgsql-odbc@arkaria.postgresql.org; Thu, 29 Jan 2015 15:29:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YGr27-0000cM-8y for pgsql-odbc@arkaria.postgresql.org; Thu, 29 Jan 2015 15:29:27 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YGr26-0000cE-NR for pgsql-odbc@postgresql.org; Thu, 29 Jan 2015 15:29:26 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YGr23-0005qx-V4 for pgsql-odbc@postgresql.org; Thu, 29 Jan 2015 15:29:24 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t0TFTMWm004854; Thu, 29 Jan 2015 10:29:22 -0500 From: Tom Lane To: Heikki Linnakangas cc: Michael Paquier , PostgreSQL mailing lists Subject: Re: Build broken since 9aaa062 because of missing isnan and isinf In-reply-to: <54CA2D64.2070908@vmware.com> References: <54CA1AD0.4050102@vmware.com> <54CA2D64.2070908@vmware.com> Comments: In-reply-to Heikki Linnakangas message dated "Thu, 29 Jan 2015 14:53:56 +0200" Date: Thu, 29 Jan 2015 10:29:22 -0500 Message-ID: <4853.1422545362@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org Heikki Linnakangas writes: > On 01/29/2015 01:51 PM, Michael Paquier wrote: >> 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: You might want to make it match the existing core coding in port/win32.h: #if (_MSC_VER < 1800) #define isinf(x) ((_fpclass(x) == _FPCLASS_PINF) || (_fpclass(x) == _FPCLASS_NINF)) #define isnan(x) _isnan(x) #endif That's been through the wars, unlike whatever you just came up with. regards, tom lane -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc