Skip to content

Commit

Permalink
Use macros for Unix
Browse files Browse the repository at this point in the history
Signed-off-by: Shreyas Atre <[email protected]>
  • Loading branch information
SAtacker committed Feb 3, 2024
1 parent 0c9491d commit 6463511
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 @@ -119,7 +119,7 @@ namespace platform {
Err = std::string();
}
}
#else
#elif defined(LLVM_ON_UNIX)
static void DLErr(std::string& Err) {
if (const char* DyLibError = ::dlerror())
Err = std::string(DyLibError);
Expand Down

0 comments on commit 6463511

Please sign in to comment.