1
0
mirror of synced 2024-11-30 18:34:29 +01:00

fix: Remaining build issues

This commit is contained in:
WerWolv 2024-03-13 09:40:37 +01:00
parent 3798654f92
commit 6972736abf
4 changed files with 4 additions and 26 deletions

View File

@ -801,6 +801,7 @@ namespace hex {
return dlopen(info.dli_fname, RTLD_LAZY); return dlopen(info.dli_fname, RTLD_LAZY);
#else #else
hex::unused(symbol);
return nullptr; return nullptr;
#endif #endif
} }

View File

@ -133,11 +133,11 @@ namespace hex::script::loader {
} }
hostfxr_set_error_writer([] HOSTFXR_CALLTYPE (const char_t *message) { hostfxr_set_error_writer([] HOSTFXR_CALLTYPE (const char_t *message) {
if constexpr (std::same_as<char_t, wchar_t>) { #if defined(OS_WINDOWS)
log::error("{}", utf16ToUtf8(message)); log::error("{}", utf16ToUtf8(message));
} else { #else
log::error("{}", message); log::error("{}", message);
} #endif
}); });
return return

View File

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>bin\Release\net7.0\publish\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<_TargetId>Folder</_TargetId>
</PropertyGroup>
</Project>

View File

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<History>True|2023-06-16T15:24:52.9876162Z;</History>
<LastFailureDetails />
</PropertyGroup>
</Project>