fix: fix github action build error
This commit is contained in:
@@ -1,10 +1,22 @@
|
||||
#include "UnvirtContext.hpp"
|
||||
#include <yycc.hpp>
|
||||
#include <yycc/carton/ironpad.hpp>
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
|
||||
// register exception handler if we are in Windows.
|
||||
#if defined(LIBCMO_BUILD_RELEASE) && defined(YYCC_OS_WINDOWS)
|
||||
yycc::carton::ironpad::startup();
|
||||
#endif
|
||||
|
||||
// run core
|
||||
Unvirt::Context::UnvirtContext ctx;
|
||||
ctx.Run();
|
||||
|
||||
// unregister exception handler if we are in Windows
|
||||
#if defined(LIBCMO_BUILD_RELEASE) && defined(YYCC_OS_WINDOWS)
|
||||
yycc::carton::ironpad::shutdown();
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "Utils.hpp"
|
||||
#include <yycc/num/op.hpp>
|
||||
#include <stdexcept>
|
||||
#include <algorithm>
|
||||
|
||||
namespace Unvirt::Utils {
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
#include <yycc.hpp>
|
||||
#include <yycc/macro/class_copy_move.hpp>
|
||||
#include <cstddef>
|
||||
|
||||
namespace Unvirt::Utils {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user