Avoid macro clash with LLVM 9.

Thomas Munro <tmunro@postgresql.org>

Commit: 180825fe43ece9bf13c27929b7fdeec5a457e9c3
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2019-07-28T22:24:20Z
Releases: 12.0
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

Files

PathChange+/−
src/backend/jit/llvm/llvmjit_inline.cpp modified +3 −0

Discussion