pgsql: Silence MSVC warnings about redefinition of isnan

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема pgsql: Silence MSVC warnings about redefinition of isnan
Дата
Msg-id E1gOR58-0005jK-Ss@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Silence MSVC warnings about redefinition of isnan

Some versions of perl.h define isnan when the compiler is MSVC. To avoid
warnings about this, undefine the symbol before including perl.h and
re-add the definition afterwards if it wasn't recreated.

Discussion: https://postgr.es/m/caf0568e-3c1f-07fd-6914-d903f22560f2@2ndQuadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d5d7f7f3b78e00009ee87ad01d1fb87b28968f65

Modified Files
--------------
src/pl/plperl/plperl.h | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix AC_REQUIRES breakage in LLVM autoconf tests.
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: fix typo