From dcef93fa099e0ae28c3ed4a9873cbf79e9954458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E8=8B=B1=E6=98=8A?= <80203701+cyhcyhgo@users.noreply.github.com> Date: Mon, 15 Dec 2025 15:10:00 +0800 Subject: [PATCH] Fix bug of link error when building KhiCAS --- apps/KhiCAS/src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/KhiCAS/src/main.cpp b/apps/KhiCAS/src/main.cpp index 1ff6953c9..6ca693c49 100644 --- a/apps/KhiCAS/src/main.cpp +++ b/apps/KhiCAS/src/main.cpp @@ -206,4 +206,9 @@ bool inexammode(){ return extapp_inexammode(); } +//dummy function to avoid link error +int __ssputws_r(void * _reent, const wchar_t * wstr, void * file) { + return 0; +} + } // end extern "C"