summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/hashcomp.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h
index 711f8275f..8c503b0a2 100644
--- a/include/hashcomp.h
+++ b/include/hashcomp.h
@@ -13,6 +13,19 @@
#ifndef HASHCOMP_H
#define HASHCOMP_H
+#ifdef _WIN32
+# ifdef MODULE_COMPILE
+# define CoreExport __declspec(dllimport)
+# define DllExport __declspec(dllexport)
+# else
+# define CoreExport __declspec(dllexport)
+# define DllExport __declspec(dllimport)
+# endif
+#else
+# define CoreExport
+# define DllExport
+#endif
+
#include <string>
#ifndef _WIN32