pgsql: Avoid macro clash with LLVM 9. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Avoid macro clash with LLVM 9.
Date
Msg-id E1hrrc2-0003BX-K6@gemulon.postgresql.org
Whole thread Raw
List 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_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/180825fe43ece9bf13c27929b7fdeec5a457e9c3

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


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Avoid macro clash with LLVM 9.
Next
From: Thomas Munro
Date:
Subject: pgsql: Avoid macro clash with LLVM 9.