Skip to content

Commit

Permalink
Fix build, dynamic linking works on Windows now
Browse files Browse the repository at this point in the history
Really wasn't expecting that. This is kind of like with win32
CreateThread() and friends, the API is similar enough to the *nix stuff
that making a little shim isn't too much trouble.
Happy that it works, still not sure if I want to keep supporting
Windows, though.
  • Loading branch information
vkoskiv committed Oct 31, 2023
1 parent b66e4ae commit afaa009
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/platform/dyn.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#ifdef WINDOWS
#include <windows.h>
#include <libloaderapi.h>
#else
#include <dlfcn.h>
Expand Down

0 comments on commit afaa009

Please sign in to comment.