Skip site navigation (1) Skip section navigation (2)

Re: earthdistance update for msvc

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <pgsql-hackers(at)postgresql(dot)org>
Cc: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: earthdistance update for msvc
Date: 2006-10-19 20:05:44
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCEA0FCA0@algol.sollentuna.se (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
> > A define is needed to expose the M_PI define from the 
> system headers.
> 
> It seems like the other places where we depend on M_PI, we 
> instead have
> 
> #ifndef M_PI
> #define M_PI 3.14159265358979323846
> #endif
> 
> Perhaps that's a better solution?

Oh. I actually did that for my quick-n-dirty fix and thought it would be
rejected so I researched the other one :-) either one is fine by me.

//Magnus

In response to

pgsql-hackers by date

Next:From: Magnus HaganderDate: 2006-10-19 20:07:40
Subject: Re: Win32 BYTE_ORDER
Previous:From: Tom LaneDate: 2006-10-19 20:05:42
Subject: Re: Win32 BYTE_ORDER

pgsql-patches by date

Next:From: Magnus HaganderDate: 2006-10-19 20:07:40
Subject: Re: Win32 BYTE_ORDER
Previous:From: Tom LaneDate: 2006-10-19 20:05:42
Subject: Re: Win32 BYTE_ORDER

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group