diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-07-30 18:28:41 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-07-30 18:28:41 +0100 |
commit | fe61ba505f3b1aa7401836a97dd32284f9932a74 (patch) | |
tree | 682d06a9f995216fd24cc60d555e6f2adbabefe5 /libtmdb | |
parent | Tidy SQL statements into sub-dirs (diff) | |
download | p2pvr-fe61ba505f3b1aa7401836a97dd32284f9932a74.tar.bz2 p2pvr-fe61ba505f3b1aa7401836a97dd32284f9932a74.tar.xz p2pvr-fe61ba505f3b1aa7401836a97dd32284f9932a74.zip |
Move everything out of the global namespace
Diffstat (limited to 'libtmdb')
-rw-r--r-- | libtmdb/tmdb-proxy.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libtmdb/tmdb-proxy.h b/libtmdb/tmdb-proxy.h index c5490a3..472e522 100644 --- a/libtmdb/tmdb-proxy.h +++ b/libtmdb/tmdb-proxy.h @@ -1,9 +1,9 @@ #include <tmdb-api.h> #include "httpClient.h" +#include <visibility.h> -#pragma GCC visibility push(default) namespace TMDb { - class Proxy : public API, private HttpClient { + class DLL_PUBLIC Proxy : public API, private HttpClient { public: Proxy(const std::string & baseUrl, const std::string & apikey); @@ -15,5 +15,4 @@ namespace TMDb { TvSeriesPtr GetTvSeries(Ice::Int, const Ice::Current&) override; }; }; -#pragma GCC visibility pop |