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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-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

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2006-10-19 20:07:40 Re: Win32 BYTE_ORDER
Previous Message Tom Lane 2006-10-19 20:05:42 Re: Win32 BYTE_ORDER

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2006-10-19 20:07:40 Re: Win32 BYTE_ORDER
Previous Message Tom Lane 2006-10-19 20:05:42 Re: Win32 BYTE_ORDER