summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
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 {