From f5e9a16ff2dd663f7ca5ea4d9f52179316e286e7 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Sun, 15 Mar 2015 17:21:34 -0700 Subject: Use SHARED macro to handle DLL export (Originally the SHARED macro is created not to handle this case, but it seems like it works fine for this purpose as well.) Closes #12. --- dlfcn.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlfcn.c b/dlfcn.c index 324fafc..b1877bd 100644 --- a/dlfcn.c +++ b/dlfcn.c @@ -27,7 +27,9 @@ #include #include +#ifdef SHARED #define DLFCN_WIN32_EXPORTS +#endif #include "dlfcn.h" /* Note: -- cgit v1.2.3-55-g6feb