summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-14 19:46:28 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-14 19:46:28 +0200
commit74240d04b14cffc93693b0033b65907655fcf218 (patch)
tree2a91239bce21597bd8cb30cacf67e085215dccd6 /compat
parenta8dd32cbf76aa5082e8bb8af0fe5218242282c26 (diff)
Use __declspec(dllimport)
Diffstat (limited to 'compat')
-rw-r--r--compat/compat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/compat/compat.h b/compat/compat.h
index 6a95f167..c34add10 100644
--- a/compat/compat.h
+++ b/compat/compat.h
@@ -21,8 +21,10 @@
#if defined(IN_FTNOIR_COMPAT) && defined(_WIN32)
# define COMPAT_EXPORT __declspec(dllexport)
+#elif defined(_WIN32)
+# define COMPAT_EXPORT __declspec(dllimport)
#else
-# define COMPAT_EXPORT
+# define COMPAT_EXPORT
#endif
class COMPAT_EXPORT PortableLockedShm {