diff options
author | Timothy Gu <timothygu99@gmail.com> | 2015-03-15 17:21:34 -0700 |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2015-03-15 17:22:45 -0700 |
commit | f5e9a16ff2dd663f7ca5ea4d9f52179316e286e7 (patch) | |
tree | f0b5349c3cd669e42d796014df056db9afe42854 | |
parent | 54740be1f652448abdda9772ac28265384ba24a1 (diff) | |
download | dlfcn-win32-f5e9a16ff2dd663f7ca5ea4d9f52179316e286e7.tar.gz dlfcn-win32-f5e9a16ff2dd663f7ca5ea4d9f52179316e286e7.tar.bz2 dlfcn-win32-f5e9a16ff2dd663f7ca5ea4d9f52179316e286e7.zip |
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.
-rw-r--r-- | dlfcn.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -27,7 +27,9 @@ | |||
27 | #include <psapi.h> | 27 | #include <psapi.h> |
28 | #include <stdio.h> | 28 | #include <stdio.h> |
29 | 29 | ||
30 | #ifdef SHARED | ||
30 | #define DLFCN_WIN32_EXPORTS | 31 | #define DLFCN_WIN32_EXPORTS |
32 | #endif | ||
31 | #include "dlfcn.h" | 33 | #include "dlfcn.h" |
32 | 34 | ||
33 | /* Note: | 35 | /* Note: |