aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-03-15 17:21:34 -0700
committerTimothy Gu <timothygu99@gmail.com>2015-03-15 17:22:45 -0700
commitf5e9a16ff2dd663f7ca5ea4d9f52179316e286e7 (patch)
treef0b5349c3cd669e42d796014df056db9afe42854
parent54740be1f652448abdda9772ac28265384ba24a1 (diff)
downloaddlfcn-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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dlfcn.c b/dlfcn.c
index 324fafc..b1877bd 100644
--- a/dlfcn.c
+++ b/dlfcn.c
@@ -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: