Small patch to fix windows build

Поиск
Список
Период
Сортировка
От David Rowley
Тема Small patch to fix windows build
Дата
Msg-id CAApHDvp2BSg9vN4L0L1KM-sZEWbK_aZXm1v7hxkY5tZE_xUHPA@mail.gmail.com
обсуждение исходный текст
Список pgsql-hackers
ed802e7 seems to have broken the windows builds.

.\contrib\pgbench\pgbench.c(530): error C2065: 'M_PI' : undeclared identifier
The attached fixes the problem. It seems all other uses of M_PI have added the same code to the .c file rather than any header file, perhaps a better patch would fix up all 3 of these locations and stick that code in a header file, but I don't really know where at the moment. This at least should get the build running again.

Regards
David Rowley

Вложения

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

Предыдущее
От: Mike Swanson
Дата:
Сообщение: Proposed changing the definition of decade for date_trunc and extract
Следующее
От: David G Johnston
Дата:
Сообщение: Re: Proposed changing the definition of decade for date_trunc and extract