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

Re: earthdistance update for msvc

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgresql(dot)org, "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: earthdistance update for msvc
Date: 2006-10-19 20:04:40
Message-ID: 2679.1161288280@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
"Magnus Hagander" <mha(at)sollentuna(dot)net> writes:
> 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?

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2006-10-19 20:05:42
Subject: Re: Win32 BYTE_ORDER
Previous:From: Tom LaneDate: 2006-10-19 19:56:36
Subject: Re: Extending tablespaces

pgsql-patches by date

Next:From: Tom LaneDate: 2006-10-19 20:05:42
Subject: Re: Win32 BYTE_ORDER
Previous:From: Magnus HaganderDate: 2006-10-19 19:49:24
Subject: Re: Adminpack build fix

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