aboutsummaryrefslogtreecommitdiff
path: root/dlfcn.c
diff options
context:
space:
mode:
authorDennis Nienhüser <earthwings@gentoo.org>2015-03-11 20:00:11 -0700
committerTimothy Gu <timothygu99@gmail.com>2015-03-11 20:00:56 -0700
commit83432ba2df9a5f526d94370815e48b21a5beb424 (patch)
tree9ebd1ba67ad93d775ff0e2ecba5a65b7183971fe /dlfcn.c
parent87f5cd065c27148d983401f43f56d9432a2034ad (diff)
downloaddlfcn-win32-83432ba2df9a5f526d94370815e48b21a5beb424.tar.gz
dlfcn-win32-83432ba2df9a5f526d94370815e48b21a5beb424.tar.bz2
dlfcn-win32-83432ba2df9a5f526d94370815e48b21a5beb424.zip
Add import/export symbols for MSVC.
This results in an import .lib file. Closes #4. Some fixes by Timothy Gu <timothygu99@gmail.com> Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'dlfcn.c')
-rw-r--r--dlfcn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dlfcn.c b/dlfcn.c
index 46c85ce..75f5c81 100644
--- a/dlfcn.c
+++ b/dlfcn.c
@@ -20,6 +20,7 @@
20#include <windows.h> 20#include <windows.h>
21#include <stdio.h> 21#include <stdio.h>
22 22
23#define DLFCN_WIN32_EXPORTS
23#include "dlfcn.h" 24#include "dlfcn.h"
24 25
25/* Note: 26/* Note: