aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuild.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2019-01-28 18:05:52 -0800
committerAndres Freund <andres@anarazel.de>2019-01-28 18:05:52 -0800
commitda05eb51debd5d4b0284bcafa728244183c303ae (patch)
tree3f2074a5262026fad9bcbccd7a89aed390f708fb /src/backend/access/gist/gistbuild.c
parent684200543b4cbfe1ac002c9962e90683d4ea4691 (diff)
downloadpostgresql-da05eb51debd5d4b0284bcafa728244183c303ae.tar.gz
postgresql-da05eb51debd5d4b0284bcafa728244183c303ae.zip
Fix LLVM related headers to compile standalone (to fix cpluspluscheck).
Previously llvmjit.h #error'ed when USE_LLVM was not defined, to prevent it from being included from code not having #ifdef USE_LLVM guards - but that's not actually that useful after, during the development of JIT support, LLVM related code was moved into a separately compiled .so. Having that #error means cpluspluscheck doesn't work when llvm support isn't enabled, which isn't great. Similarly add USE_LLVM guards to llvmjit_emit.h, and additionally make sure it compiles standalone. Per complaint from Tom Lane. Author: Andres Freund Discussion: https://postgr.es/m/19808.1548692361@sss.pgh.pa.us Backpatch: 11, where JIT support was added
Diffstat (limited to 'src/backend/access/gist/gistbuild.c')
0 files changed, 0 insertions, 0 deletions