diff options
author | Timothy Gu <timothygu99@gmail.com> | 2015-03-11 20:12:25 -0700 |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2015-03-11 20:12:25 -0700 |
commit | b70639dc534606a831f074cad388d5f0c5a56649 (patch) | |
tree | 12e044dc84cc7bc1edb8aafa2a26932b1ef4ff86 | |
parent | 6d7e94b2c154be9e96c25778f08282f42cec4745 (diff) | |
download | dlfcn-win32-b70639dc534606a831f074cad388d5f0c5a56649.tar.gz dlfcn-win32-b70639dc534606a831f074cad388d5f0c5a56649.tar.bz2 dlfcn-win32-b70639dc534606a831f074cad388d5f0c5a56649.zip |
Do not use dllimport in any case
-rw-r--r-- | dlfcn.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -26,8 +26,8 @@ extern "C" { | |||
26 | 26 | ||
27 | #if defined(DLFCN_WIN32_EXPORTS) | 27 | #if defined(DLFCN_WIN32_EXPORTS) |
28 | # define DLFCN_EXPORT __declspec(dllexport) | 28 | # define DLFCN_EXPORT __declspec(dllexport) |
29 | #elif defined (_MSC_VER) // FIXME: MinGW support | 29 | #else |
30 | # define DLFCN_EXPORT __declspec(dllimport) | 30 | # define DLFCN_EXPORT |
31 | #endif | 31 | #endif |
32 | 32 | ||
33 | /* POSIX says these are implementation-defined. | 33 | /* POSIX says these are implementation-defined. |