Re: earthdistance update for msvc

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: earthdistance update for msvc
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA0FCA0@algol.sollentuna.se
обсуждение исходный текст
Ответ на Re: earthdistance update for msvc  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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

В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Win32 BYTE_ORDER
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Win32 BYTE_ORDER