Skip to content

Commit

Permalink
Fix DLOpen symbol not found macOS
Browse files Browse the repository at this point in the history
Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com>
  • Loading branch information
SAtacker committed Jan 27, 2024
1 parent 6d3a759 commit f34b610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Interpreter/Paths.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ namespace platform {
return std::string(Buffer.str());
}

#if defined(LLVM_ON_UNIX)
#if defined(LLVM_ON_UNIX) || __APPLE__
static void DLErr(std::string& Err) {
if (Err.empty())
return;
Expand Down

0 comments on commit f34b610

Please sign in to comment.