summaryrefslogtreecommitdiff
path: root/include/util
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-09-05 21:39:19 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-09-05 21:39:19 +0200
commita29c464aa72d46cc956ac2752a2518526c499716 (patch)
tree96eebb1fb5b0070d196e04db0b73486b39decc14 /include/util
parentdf2c44401f8dd736a903e73813e5f83fb15b36b6 (diff)
downloadcrawler-a29c464aa72d46cc956ac2752a2518526c499716.tar.gz
crawler-a29c464aa72d46cc956ac2752a2518526c499716.tar.bz2
started to solve the logger dll problem on Windows
Diffstat (limited to 'include/util')
-rwxr-xr-x[-rw-r--r--]include/util/Exportable.hpp4
-rwxr-xr-x[-rw-r--r--]include/util/ScopedPtr.hpp0
2 files changed, 4 insertions, 0 deletions
diff --git a/include/util/Exportable.hpp b/include/util/Exportable.hpp
index 28ac7ff..a676ae3 100644..100755
--- a/include/util/Exportable.hpp
+++ b/include/util/Exportable.hpp
@@ -6,8 +6,12 @@
#define SINGLETON_EXPORT
#define SINGLETON_EXTERN
+#define DLL_EXPORT
+
#else
+#define DLL_EXPORT __declspec(dllexport)
+
#ifndef SHARED
#define SINGLETON_EXPORT __declspec(dllexport)
#define SINGLETON_EXTERN
diff --git a/include/util/ScopedPtr.hpp b/include/util/ScopedPtr.hpp
index 19a41d2..19a41d2 100644..100755
--- a/include/util/ScopedPtr.hpp
+++ b/include/util/ScopedPtr.hpp