summaryrefslogtreecommitdiff
path: root/p2pvr/daemon
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-01-24 21:09:32 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2016-01-24 21:09:32 +0000
commita667897646448ed831074bce8f923845c77665af (patch)
tree9cc4a98dd540218616b9e6cc9bb511b0e2ff9c46 /p2pvr/daemon
parentRemove straggling use of Slicer::Deserialize in favour of more flexible Deser... (diff)
downloadp2pvr-a667897646448ed831074bce8f923845c77665af.tar.bz2
p2pvr-a667897646448ed831074bce8f923845c77665af.tar.xz
p2pvr-a667897646448ed831074bce8f923845c77665af.zip
Partially tested global visibility hidden in all projects
Diffstat (limited to 'p2pvr/daemon')
-rw-r--r--p2pvr/daemon/Jamfile.jam1
-rw-r--r--p2pvr/daemon/unittests/mockDefs.h3
2 files changed, 2 insertions, 2 deletions
diff --git a/p2pvr/daemon/Jamfile.jam b/p2pvr/daemon/Jamfile.jam
index 0bd9c52..369e714 100644
--- a/p2pvr/daemon/Jamfile.jam
+++ b/p2pvr/daemon/Jamfile.jam
@@ -23,7 +23,6 @@ lib p2pvrdaemon :
<library>../devices//p2pvrdevices
<library>../daemonbase//p2pvrdaemonbase
<library>..//adhocutil
- <cflags>-fvisibility=hidden
<implicit-dependency>../../libtmdb//tmdb
<library>slicer
<library>slicer-db
diff --git a/p2pvr/daemon/unittests/mockDefs.h b/p2pvr/daemon/unittests/mockDefs.h
index bf5481d..b16b47d 100644
--- a/p2pvr/daemon/unittests/mockDefs.h
+++ b/p2pvr/daemon/unittests/mockDefs.h
@@ -2,8 +2,9 @@
#define MOCKDEFS_H
#include <pq-mock.h>
+#include <visibility.h>
-#define DECLAREMOCK(Name) class Name : public PQ::Mock { public: Name(); }
+#define DECLAREMOCK(Name) class DLL_PUBLIC Name : public PQ::Mock { public: Name(); }
DECLAREMOCK(SchemaOnlyMockDatabase);
DECLAREMOCK(StandardMockDatabase);