Skip to content

Commit

Permalink
Fix dlerror not existing on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
wheremyfoodat committed Oct 22, 2023
1 parent 0c5e3f8 commit 775c99d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/settings.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,11 @@ public:

if (!handle)
{
#if defined(HYDRA_LINUX) || defined(HYDRA_MACOS) || defined(HYDRA_ANDROID)
printf("dl error: %s\n", dlerror());
#else
printf("dl error occured\n");
#endif
++it;
continue;
}
Expand Down

0 comments on commit 775c99d

Please sign in to comment.