Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YGoc5-0004cm-Ru for pgsql-odbc@arkaria.postgresql.org; Thu, 29 Jan 2015 12:54:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YGoc5-0000c2-Bu for pgsql-odbc@arkaria.postgresql.org; Thu, 29 Jan 2015 12:54:25 +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 1YGoc3-0000aH-UO for pgsql-odbc@postgresql.org; Thu, 29 Jan 2015 12:54:24 +0000 Received: from smtp-outbound-2.vmware.com ([208.91.2.13]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YGobu-0002yb-QD for pgsql-odbc@postgresql.org; Thu, 29 Jan 2015 12:54:20 +0000 Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id B77D328681; Thu, 29 Jan 2015 04:54:12 -0800 (PST) Received: from EX13-CAS-013.vmware.com (EX13-CAS-013.vmware.com [10.113.191.65]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id B38084058D; Thu, 29 Jan 2015 04:54:12 -0800 (PST) Received: from [192.168.42.220] (10.113.160.246) by EX13-MBX-024.vmware.com (10.113.191.44) with Microsoft SMTP Server (TLS) id 15.0.913.22; Thu, 29 Jan 2015 04:54:11 -0800 Message-ID: <54CA2D64.2070908@vmware.com> Date: Thu, 29 Jan 2015 14:53:56 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0 MIME-Version: 1.0 To: Michael Paquier CC: PostgreSQL mailing lists Subject: Re: Build broken since 9aaa062 because of missing isnan and isinf References: <54CA1AD0.4050102@vmware.com> In-Reply-To: Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.113.160.246] X-ClientProxiedBy: EX13-CAS-013.vmware.com (10.113.191.65) To EX13-MBX-024.vmware.com (10.113.191.44) X-Pg-Spam-Score: -6.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 On 01/29/2015 01:51 PM, Michael Paquier wrote: > On Thu, Jan 29, 2015 at 8:34 PM, Heikki Linnakangas > 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