aot: Fix LLVMSetTailCallKind check (#3099)

This commit is contained in:
YAMAMOTO Takashi
2024-01-30 21:50:33 +09:00
committed by GitHub
parent 170ae35131
commit 7e65f9a244
3 changed files with 2 additions and 8 deletions

View File

@ -163,7 +163,7 @@ LLVMCreateTargetMachineWithOpts(LLVMTargetRef ctarget, const char *triple,
}
/* https://reviews.llvm.org/D153107 */
#if LLVM_VERSION_MAJOR < 17
#if LLVM_VERSION_MAJOR < 18
using namespace llvm;
LLVMTailCallKind