Skip to content

Commit

Permalink
Fixed implementation of VariableDeclarationExpression::loadNativeFunc…
Browse files Browse the repository at this point in the history
…tion() for Windows target.
  • Loading branch information
nthnn committed Dec 13, 2024
1 parent a5cd9ae commit a573b32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/n8/ast/expression/VariableDeclarationExpression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ NativeFunction VariableDeclarationExpression::loadNativeFunction(

handle = LoadLibraryA(library.c_str());
SetDllDirectoryW(wfolderPath);
std::cout << "Loading DLLs from: " << wfolderPath << std::endl;
std::cout << "Loading DLLs from: ";
std::wcout << wfolderPath;
std::cout << std::endl;

#elif defined(__APPLE__)
handle = dlopen(library.c_str(), RTLD_LAZY);
Expand Down

0 comments on commit a573b32

Please sign in to comment.