pgsql: Avoid macro clash with LLVM 9.

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема pgsql: Avoid macro clash with LLVM 9.
Дата
Msg-id E1hrrcV-0003CJ-Gv@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Avoid macro clash with LLVM 9.

Early previews of LLVM 9 reveal that our Min() macro causes compiler
errors in LLVM headers reached by the #include directives in
llvmjit_inline.cpp.  Let's just undefine it.  Per buildfarm animal
seawasp.  Back-patch to 11.

Reviewed-by: Fabien Coelho, Tom Lane
Discussion: https://postgr.es/m/20190606173216.GA6306%40alvherre.pgsql

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0ef70bbaddb6b725c1d0d72bcf607ef9fdba0c1c

Modified Files
--------------
src/backend/jit/llvm/llvmjit_inline.cpp | 3 +++
1 file changed, 3 insertions(+)


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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: pgsql: Avoid macro clash with LLVM 9.
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Fix handling of expressions and predicates in REINDEXCONCURRENT