aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-03-11 20:12:25 -0700
committerTimothy Gu <timothygu99@gmail.com>2015-03-11 20:12:25 -0700
commitb70639dc534606a831f074cad388d5f0c5a56649 (patch)
tree12e044dc84cc7bc1edb8aafa2a26932b1ef4ff86
parent6d7e94b2c154be9e96c25778f08282f42cec4745 (diff)
downloaddlfcn-win32-b70639dc534606a831f074cad388d5f0c5a56649.tar.gz
dlfcn-win32-b70639dc534606a831f074cad388d5f0c5a56649.tar.bz2
dlfcn-win32-b70639dc534606a831f074cad388d5f0c5a56649.zip
Do not use dllimport in any case
-rw-r--r--dlfcn.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dlfcn.h b/dlfcn.h
index 06c3529..711e431 100644
--- a/dlfcn.h
+++ b/dlfcn.h
@@ -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.