summaryrefslogtreecommitdiff
path: root/tests/modules
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-08-21 09:45:11 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-08-21 09:45:11 +0200
commit871f1b454062906ac2a4089d62052907975d093a (patch)
treec877cdd801416ba1a55a3964a9e3ce5a80b196fe /tests/modules
parentcf1f5367d2a87cb0585009f343eeb3350efbb076 (diff)
downloadcrawler-871f1b454062906ac2a4089d62052907975d093a.tar.gz
crawler-871f1b454062906ac2a4089d62052907975d093a.tar.bz2
moved DLL fiddling to Exportable.hpp
Diffstat (limited to 'tests/modules')
-rwxr-xr-xtests/modules/Common.hpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/modules/Common.hpp b/tests/modules/Common.hpp
index 4be89bb..e5c0624 100755
--- a/tests/modules/Common.hpp
+++ b/tests/modules/Common.hpp
@@ -2,6 +2,7 @@
#define __COMMON_H
#include "Singleton.hpp"
+#include "Exportable.hpp"
#include <iostream>
#include <string>
@@ -20,14 +21,6 @@ class Common : public Singleton< Common >
void print( string s ) { cout << m_name << ": " << s << endl; }
};
-#ifndef SHARED
-#define SINGLETON_EXPORT __declspec(dllexport)
-#define SINGLETON_EXTERN
-#else
-#define SINGLETON_EXPORT __declspec(dllimport)
-#define SINGLETON_EXTERN extern
-#endif
-
SINGLETON_EXTERN template class SINGLETON_EXPORT Singleton< Common >;
#endif