From 72e6be720232dd1ac2e16d72386f25d0e5ea6ebd Mon Sep 17 00:00:00 2001 From: Nathanne Isip Date: Fri, 13 Dec 2024 23:36:54 +0800 Subject: [PATCH] Fixed implementation of VariableDeclarationExpression::loadNativeFunction() for Windows target. --- src/n8/ast/expression/VariableDeclarationExpression.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/n8/ast/expression/VariableDeclarationExpression.cpp b/src/n8/ast/expression/VariableDeclarationExpression.cpp index 6b7286e..8b8dcfc 100644 --- a/src/n8/ast/expression/VariableDeclarationExpression.cpp +++ b/src/n8/ast/expression/VariableDeclarationExpression.cpp @@ -89,7 +89,7 @@ NativeFunction VariableDeclarationExpression::loadNativeFunction( #if defined(_WIN32) || defined(_WIN64) || defined(WIN32) || defined(WIN64) std::filesystem::path path(library); - std::cout << "Loading DLLs from: " << path.parent_path().string().c_str() << std::endl; + std::cout << "Loading DLLs from: " << path.parent_path().string() << std::endl; AddDllDirectory(path.parent_path().wstring().c_str()); handle = LoadLibraryA(library.c_str());