1
0

fix: fix github action build error

This commit is contained in:
2026-02-03 16:47:23 +08:00
parent 37904fd5a4
commit 4985c6d3d0
11 changed files with 30 additions and 20 deletions

View File

@@ -1,5 +1,6 @@
#include "BMExports.hpp"
#include <yycc.hpp>
#include <yycc/carton/ironpad.hpp>
#include <set>
#include <type_traits>
#include <memory>
@@ -59,8 +60,8 @@ bool BMInit() {
if (CheckInited()) return false;
// register exception handler if we are in Windows.
#if defined(LIBCMO_BUILD_RELEASE) && (YYCC_OS == YYCC_OS_WINDOWS)
YYCC::ExceptionHelper::Register();
#if defined(LIBCMO_BUILD_RELEASE) && defined(YYCC_OS_WINDOWS)
yycc::carton::ironpad::startup();
#endif
// and startup CK environment
@@ -93,8 +94,8 @@ bool BMDispose() {
LibCmo::CK2::CKShutdown();
// unregister exception handler if we are in Windows
#if defined(LIBCMO_BUILD_RELEASE) && (YYCC_OS == YYCC_OS_WINDOWS)
YYCC::ExceptionHelper::Unregister();
#if defined(LIBCMO_BUILD_RELEASE) && defined(YYCC_OS_WINDOWS)
yycc::carton::ironpad::shutdown();
#endif
return true;