]> granicus.if.org Git - postgresql/commit
Avoid macro clash with LLVM 9.
authorThomas Munro <tmunro@postgresql.org>
Sun, 28 Jul 2019 22:12:37 +0000 (10:12 +1200)
committerThomas Munro <tmunro@postgresql.org>
Sun, 28 Jul 2019 22:24:20 +0000 (10:24 +1200)
commit180825fe43ece9bf13c27929b7fdeec5a457e9c3
treed6df8f4ca36fe55526e1213613000890faadd55a
parente396d1ee7db5027302bc8ce129b435dee13723a4
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
src/backend/jit/llvm/llvmjit_inline.cpp