diff options
Diffstat (limited to 'libtmdb/tmdb-proxy.h')
-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 |