]> git.ipfire.org Git - thirdparty/postgresql.git/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:23:55 +0000 (10:23 +1200)
commita2a777d011971ace3a349a3f02b1bf6eeea07bf2
tree12457394a3fb862b3a1000ab518e06585e9d4892
parentb10f40bf0e4516d7832db8ccbe5f76319ad08682
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