Skip to content

Commit b03cdc8

Browse files
Fix windows build
1 parent f5c33ed commit b03cdc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/src/CoreClr.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ CoreClr::CoreClr(alt::ICore* core) {
4343
strcpy(dotnetDirectory, pf);
4444
strcat(dotnetDirectory, dotnetProgramFilesPath);
4545

46-
GetPath(server, defaultPath);
46+
GetPath(core, defaultPath);
4747
delete[] defaultPath;
4848
#else
4949
auto currDotnetDirectory = "/usr/share/dotnet/";
@@ -61,7 +61,7 @@ CoreClr::CoreClr(alt::ICore* core) {
6161
_coreClrLib = LoadLibraryEx(fullPath, nullptr, 0);
6262
delete[] fullPath;
6363
if (_coreClrLib == nullptr) {
64-
server->LogInfo(alt::String("coreclr-module: Unable to find CoreCLR dll"));
64+
core->LogInfo(alt::String("coreclr-module: Unable to find CoreCLR dll"));
6565
return;
6666
}
6767

0 commit comments

Comments
 (0)