Fix linker error for kcpp_permit_any_repack (#2210)

Fixes `gpttype_adapter.lib(gpttype_adapter.obj) : error LNK2019: unresolved external symbol "int kcpp_permit_any_repack"`

It's a `bool`, not an `int`
This commit is contained in:
askmyteapot
2026-05-16 10:55:56 +10:00
committed by GitHub
parent 79666e5764
commit 3174fccb83
+1 -1
View File
@@ -172,7 +172,7 @@ static std::map<int,std::vector<int>> antislop_banned_token_ids; //first is the
static int savestate_limit = 0;
static std::vector<savestate_data> savestates;
extern int kcpp_permit_any_repack;
extern bool kcpp_permit_any_repack;
inline int kcpp_cpu_has_blas(void) {
#if defined(GGML_USE_BLAS) || defined(GGML_USE_CUDA) || defined(GGML_USE_VULKAN) || defined(GGML_USE_SYCL)